עבור לתוכן

אנטי וירוס חושד בתוכנה כוירוס

Featured Replies

פורסם
  • מחבר
ציטוט של af db creid

אני הייתי שמח לעזור למתכנת מתחיל עם רצון ללמוד. רבים עושים את זה מתוך תחושת שליחות.

לגבי התואר - לא נכון (על אף שאני יודע שיהיו כאלו שיחלקו עלי כאן). חברות מעדיפות ניסיון על פני לימודים "רשמיים", ובצדק. השוק מוצף בבוגרי תואר שלא באמת יודעים איך לכתוב תוכנה.

בתכלס אתה עוזר...

זה נחשב ניסיון?

ציטוט של af db creid

זה כל מה שכתוב? תסתכל בOutput Window. אם עדיין לא כתוב תוריד את הecho off בהתחלה.

 

זו השגיאה:

: Project: timeWork, Configuration: Release x64 ------
1>  Merging timeWork.exe ...
1>  An exception occurred during merging:
1>  Specified search directory 'Bin\x64\Release\' not found.
1>     ב-  ILMerging.ILMerge.Merge()
1>     ב-  ILMerging.ILMerge.Main(String[] args)
1>  Done.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: The command "
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: this script needs https://www.nuget.org/packages/ilmerge
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: set your target executable name (typically [projectname].exe)
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: SET APP_NAME=timeWork.exe
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: Set build, used for directory. Typically Release or Debug
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: SET ILMERGE_BUILD=Release
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: Set platform, typically x64
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: SET ILMERGE_PLATFORM=x64
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: set your NuGet ILMerge Version, this is the number from the package manager install, for example:
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: PM> Install-Package ilmerge -Version 3.0.29
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: to confirm it is installed for a given project, see the packages.config file
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: SET ILMERGE_VERSION=3.0.29
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: the full ILMerge should be found here:
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: SET ILMERGE_PATH=%USERPROFILE%\.nuget\packages\ilmerge\%ILMERGE_VERSION%\tools\net452
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: dir "%ILMERGE_PATH%"\ILMerge.exe
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: echo Merging %APP_NAME% ...
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: add project DLL's starting with replacing the FirstLib with this project's DLL
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: "%ILMERGE_PATH%"\ILMerge.exe Bin\%ILMERGE_PLATFORM%\%ILMERGE_BUILD%\%APP_NAME%  ^
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073:   /lib:Bin\%ILMERGE_PLATFORM%\%ILMERGE_BUILD%\ ^
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073:   /out:%APP_NAME% ^
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073:   timeWork.exe ^
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073:   Microsoft.WindowsAPICodePack.Shell.dll
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: echo Done." exited with code 1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 

מחקתי את השורות האלו, (הן נראו לי כמו הערות) ועדיין אותה שגיאה רק עם שורות אחרות... כמו שהבנתי שגיאה msb3073 אומרת שיש טעות בpath אבל לא מצאתי כזו טעות, שיניתי הכל לפי מה שכתוב.

ציטוט של af db creid

שים לב שאתה מנסה לאתחל את לחצני הtaskbar אחרי הClose(). אסור לבצע פעולות עם טופס שנסגר.

שיניתי ואכן פתר את הבעיה.

  • תגובות 77
  • צפיות 9.2k
  • נוצר
  • תגובה אחרונה
פורסם

 

ציטוט של eido300

זה נחשב ניסיון?

מה?

ציטוט של eido300

זו השגיאה:


: Project: timeWork, Configuration: Release x64 ------
1>  Merging timeWork.exe ...
1>  An exception occurred during merging:
1>  Specified search directory 'Bin\x64\Release\' not found.
1>     ב-  ILMerging.ILMerge.Merge()
1>     ב-  ILMerging.ILMerge.Main(String[] args)
1>  Done.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: The command "
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: this script needs https://www.nuget.org/packages/ilmerge
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: set your target executable name (typically [projectname].exe)
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: SET APP_NAME=timeWork.exe
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: Set build, used for directory. Typically Release or Debug
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: SET ILMERGE_BUILD=Release
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: Set platform, typically x64
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: SET ILMERGE_PLATFORM=x64
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: set your NuGet ILMerge Version, this is the number from the package manager install, for example:
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: PM> Install-Package ilmerge -Version 3.0.29
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: to confirm it is installed for a given project, see the packages.config file
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: SET ILMERGE_VERSION=3.0.29
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: the full ILMerge should be found here:
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: SET ILMERGE_PATH=%USERPROFILE%\.nuget\packages\ilmerge\%ILMERGE_VERSION%\tools\net452
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: dir "%ILMERGE_PATH%"\ILMerge.exe
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: echo Merging %APP_NAME% ...
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: :: add project DLL's starting with replacing the FirstLib with this project's DLL
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: "%ILMERGE_PATH%"\ILMerge.exe Bin\%ILMERGE_PLATFORM%\%ILMERGE_BUILD%\%APP_NAME%  ^
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073:   /lib:Bin\%ILMERGE_PLATFORM%\%ILMERGE_BUILD%\ ^
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073:   /out:%APP_NAME% ^
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073:   timeWork.exe ^
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073:   Microsoft.WindowsAPICodePack.Shell.dll
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1333,5): error MSB3073: echo Done." exited with code 1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 

מחקתי את השורות האלו, (הן נראו לי כמו הערות) ועדיין אותה שגיאה רק עם שורות אחרות... כמו שהבנתי שגיאה msb3073 אומרת שיש טעות בpath אבל לא מצאתי כזו טעות, שיניתי הכל לפי מה שכתוב.

הבעיה היא לא בהערות כמובן :) אכן יש שגיאה בpath, ניסיתי לנחש את מבנה התיקיות שלך ומסתבר שאני לא מנחש כזה מוצלח ;) שלח את המבנה של תיקיית bin, מה היא מכילה.

פורסם
ציטוט של eido300

בתכלס אתה עוזר...

התכוונתי לשתף אותו בפרוייקט קוד פתוח שלי, לדוגמה לפתור באג קטן אפילו שאני כבר יודע איפה הבעיה וייקח לי בדיוק שתי דקות לפתור את העניין. חפש פרוייקטי קוד פתוח שמעניינים אותך, (מה שכן, תצטרך ללמוד גיט. יש מדריך מצוין ממש כאן). חפש issues שמסומנים בתוויות easy, good first issue, אפילו help wanted אם כי האחרונים עשויים להיות קשים. אל תתבייש לבקש עזרה, לשאול על המבנה של הקבצים, הכוונה למקום המשוער של הבאג/שבו צריך להוסיף את הפיצ'ר. אחד הרפוס הכי מזמינים שאני מכיר הוא Visual Studio Code - הצוות מאוד חם ועוזר לכל מי שמבקש. חפש issue מתאים ותגיד "I want to take this issue. Can you refer me to the relevant code?". בסיס הקוד ענק, אבל בנוי היטב ומחולק ליחידות. כשתרמתי לא לראשונה תרמתי פיצ'ר לterminal ועל אף שלא ביקשתי עזרה מצאתי מהר מאוד את הקוד הרלוונטי. כמובן שזה רלוונטי רק אם אתה יודע TypeScript :) אבל יש הרבה פרוייקטים בעולם, גם בC#. אפילו לקומפיילר של C# עצמן אתה יכול לתרום, כאן. ולא צריך להיות בעל תואר ראשון שעשה קורס קומפיילרים בשביל זה, מניסיון :)

פורסם
  • מחבר
ציטוט של af db creid

הבעיה היא לא בהערות כמובן :) אכן יש שגיאה בpath, ניסיתי לנחש את מבנה התיקיות שלך ומסתבר שאני לא מנחש כזה מוצלח ;) שלח את המבנה של תיקיית bin, מה היא מכילה.

חשבתי שזו הבעיה אז שיניתי את המבנה שלה למה שהם רוצים:

Bin\x64\Release

וזה לא עזר

פורסם

מה מבנה התיקיות?

פורסם
  • מחבר
ציטוט של af db creid

מה מבנה התיקיות?

מה זאת אומרת? כמו שכתבתי, מההתחלה זה:

timeWork - יש בו את קבצי הsin, suo והתיקיות של קבצי הקוד.

timeWork - קבצי הקוד וכל שאר התיקיות הנצרכות לתוכנה.

Bin (B גדולה על פי בקשת המהדר) -  debug, release, x64.

x64 - debug, Release.

Release - הקבצים שהקומפלייר מיצר כולל הdllים הנצרכים

 

אלא אם כן אתה מתכוון למשהו אחר...

 

מורכב הgit הזה מה העניין בו?

נערך על-ידי eido300

פורסם
ציטוט של eido300

מורכב הgit הזה מה העניין בו?

לא על רגל אחת... קרא את המדריך שקישרתי אליו.

 

ציטוט של eido300

B גדולה על פי בקשת המהדר

מוזר מאוד. בכלל בWindows אותיות גדולות או קטנות לא משנות בשמות קבצים ותיקיות.

 

מצאתי חבילת NuGet שעושה את העבודה בקלות וטוב יותר: תמחק את הקוד בpost build event ותתקין את החבילה MSBuild.ILMerge.Task. שיב לב - יש גם חבילה ILMerge.MSBuild.Tasks, לא אותה. זהו :)

פורסם
  • מחבר

מצטער שאני קרציה אבל לא עובד... יותר מזה, הוא זורק שגיאה אפילו אם אני מפעיל דרך הדיבאגר עצמו.

התקנתי מה שכתבת וגם את הilmarge כמו שהם דורשים, אבל לא עובד.

כשאני עושה build זה מודיע על הצלחה עם אזהרה על קובץ טקסט לא קיים.

Severity	Code	Description	Project	File	Line	Suppression State
Warning		Specified merge order file 'C:\...\Desktop\timeWork\timeWork\ILMergeOrder.txt' doesn't exist.	timeWork			

 

פורסם
ציטוט של eido300

מצטער שאני קרציה

בכיף!

 

מה הפלט בOutput Window?

פורסם
  • מחבר
ציטוט של af db creid

בכיף!

 

מה הפלט בOutput Window?

Rebuild started...
1>------ Rebuild All started: Project: timeWork, Configuration: Release Any CPU ------
1>  Merge PDBs: true
1>  Merged assemblies: C:\...\Desktop\timeWork\timeWork\obj\Release\timeWork.exe;
1>C:\...\.nuget\packages\msbuild.ilmerge.task\1.1.3\build\MSBuild.ILMerge.Task.targets(88,5): warning : Specified merge order file 'C:\U...\Desktop\timeWork\timeWork\ILMergeOrder.txt' doesn't exist.
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

 

וזה אחרי הדיבוג:

1. Use a debug build configuration or disable the debug option 'Enable Just My Code'. 
2. Check the 'Symbols' settings under debugging options.'timeWork.exe' (CLR v4.0.30319: timeWork.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'timeWork.exe' (CLR v4.0.30319: timeWork.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'timeWork.exe' (CLR v4.0.30319: timeWork.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'timeWork.exe' (CLR v4.0.30319: timeWork.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'timeWork.exe' (CLR v4.0.30319: timeWork.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'timeWork.exe' (CLR v4.0.30319: timeWork.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'timeWork.exe' (CLR v4.0.30319: timeWork.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms.resources\v4.0_4.0.0.0_he_b77a5c561934e089\System.Windows.Forms.resources.dll'. Module was built without symbols.
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in System.Windows.Forms.dll
לא היתה אפשרות לטעון קובץ או הרכבה 'Microsoft.WindowsAPICodePack.Shell, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' או אחת מהתלויות שלו. The system cannot find the file specified.

The program '[1576] timeWork.exe' has exited with code -1 (0xffffffff).

 

וזה שמפעילים במצב דיבאג ולא release:

timeWork.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'timeWork.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Users\HP\Desktop\timeWork\timeWork\bin\Debug\timeWork.exe'. Symbols loaded.
'timeWork.exe' (CLR v4.0.30319: timeWork.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'timeWork.exe' (CLR v4.0.30319: timeWork.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'timeWork.exe' (CLR v4.0.30319: timeWork.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'timeWork.exe' (CLR v4.0.30319: timeWork.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'timeWork.exe' (CLR v4.0.30319: timeWork.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'timeWork.exe' (CLR v4.0.30319: timeWork.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'timeWork.exe' (CLR v4.0.30319: timeWork.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms.resources\v4.0_4.0.0.0_he_b77a5c561934e089\System.Windows.Forms.resources.dll'. Module was built without symbols.
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in System.Windows.Forms.dll
לא היתה אפשרות לטעון קובץ או הרכבה 'Microsoft.WindowsAPICodePack.Shell, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' או אחת מהתלויות שלו. The system cannot find the file specified.

'timeWork.exe' (CLR v4.0.30319: timeWork.exe): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\PrivateAssemblies\Runtime\Microsoft.VisualStudio.Debugger.Runtime.Desktop.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[11996] timeWork.exe' has exited with code -1 (0xffffffff)

 

פורסם

תנסה ליצור קובץ בשם ILMergeOrder.txt ושים בתוכו:

Microsoft.WindowsAPICodePack.Shell.dll
timeWork.exe

ואי אפשר לדבאג אחרי שמיזגת את הDLL.

נערך על-ידי af db creid

פורסם
  • מחבר

הפעם הוא לא מראה שום אזהרה אבל כשאני פותח את הקובץ עצמו (לפי הכתובת שכתובה בoutput) הקובץ זורק שגיאה (את אותה השגיאה כמו מקודם שאי אפשר לטעון את קובץ הdllהזה), אפילו אם אני לא מזיז אותו מהמקום.

פורסם

תעלה לפה את הsolution בבקשה.

פורסם
  • מחבר

הנה כל תיקיית הפרוייקט, אבל אני מזהיר מראש, יש שם הרבה זבל שהקומפלייר יצר במהלך הזמן והנסיונות...

timeWork.zip

פורסם

הערה: לעולם אל תעלה את קבצי הsuo ותיקיית .vs. הם מכילים פרטים אישיים. גם לא קובצי pfx - הם מכילים מפתחות פרטיים שמאפשרים להתחזות לתוכנה שלך. ככלל, אל תעלה קבצים מוסתרים. אם VS מסתיר אותם יש לזה סיבה טובה. מומלץ גם למחוק את תיקיות bin, obj וpackages.

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים