-
-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't build using build.ps1 way #361
Comments
Figured out the solution:
Note: depending on your MS VS edition you might have different path!
|
Another question on this issue:
while asked to build only dotnet48 also builds .net8.0 artifacts? |
The script is designed to run in a terminal session where Building |
.NET standard is used for some of the Rosyn packages since that is what Roslyn targets. dnSpy does some tricks to access Roslyn internals and if these files which do the tricks don't match exactly with runtime it can not work on some systems. There was an issue and PR to fix it a while back. .NET Standard is not a runtime so it being discontinued is not a big problem for now. MSBuild is still part of VS and is the build pipeline used when you run dotnet build, it's just not present in path on most systems. Honestly, I'd like to kill .net framework at some point but it's not likely to happen since that's the only way we can ensure users on older operating systems can use dnSpy. |
OK! makes sense |
dnSpyEx version
6.5.1
Describe the Bug
according to readme step I"m trying to build the binaries
I"m using VS2022 17.11.4
How To Reproduce
inside powershell:
Expected Behavior
binaries got build without errors
Actual Behavior
can't find msbuild binary from VS
Additional Context
I didn't find the vcvars.bat file that I've used for ages to open up MSVS PATHs / etc
OS: Win11
The text was updated successfully, but these errors were encountered: