-
Notifications
You must be signed in to change notification settings - Fork 222
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
Convert MIDebugEngine to use SDK csproj #1075
Conversation
@gregg-miskelly Is it normal to require There also seems to be an issue with |
Are you referencing the
|
Yes |
Looks like I need to do something like |
The way it should work is that if you open the solution it should start restoring in the background. If you aren't seeing that, do you have "Tools->Options->NuGet Package Manager->Allow NuGet to download missing packages" and "Automatically check for missing packages during build in Visual Studio" checked? It might be expected that if you build on the command line, and didn't do a
This is probably because they aren't configured to build by default. Can you right click on the solution or project and restore them? |
This paves the way for a .NET Core build of MIEngine, am I right? |
Yep. The idea is to first move to SDK style projects but still build with .NET Framework Leaving the actual binaries unchanged. Then there will be work needed to convert the Desktop.Release (XPLAT) portion to build and publish using .NET Core. See https://docs.microsoft.com/en-us/dotnet/core/rid-catalog#using-rids |
a84f684
to
7db87be
Compare
546ac91
to
8e97351
Compare
This PR converts all the C# projects to use the new styled sdk projects. https://docs.microsoft.com/en-us/dotnet/core/project-sdk/overview
Also csproj will generate pkgdef
8e97351
to
21aa199
Compare
@gregg-miskelly When you have the time, can you review? The bigger changes are in 21aa199 |
Resolved. I think VS does something weird and caches the csproj style in the Thanks for following up :) |
Otherwise LGTM |
1. Cleaned up bin output - Removed xunit binaries - Removed reference to System.Text.Json and System.Memory - Set 'Private: False' to referenced packages 2. Cleaned up Reference tags to System that were not needed 3. Removed unused methods that used dynamic also removed CSharp Reference 4. Cleaned up labels and organized some XML
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from that one nit, looks good to me.
Validating the Releases:
|
356c271
to
5538e6d
Compare
Need to use VSSDK 16.8.3038 or later for this to run in Windows GitHub CodeSpaces
This PR converts all the C# projects to use the new styled sdk projects.
Removed prebuild.csproj. The IL used for each specific project is added and is generated by the target which will run before resolving References.
The literal or constant value <...> should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)'
in testsTODO List:
<PropertyGroup Condition = $(Configuration) | $(Platform) == Desktop.Debug|AnyCPU>