-
Notifications
You must be signed in to change notification settings - Fork 351
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
add vscode support #1356
base: release-7.x
Are you sure you want to change the base?
add vscode support #1356
Conversation
"request": "launch", | ||
"preLaunchTask": "build", | ||
// If you have changed target frameworks, make sure to update the program path. | ||
"program": "${workspaceFolder}/test/FunctionalTests/Microsoft.OData.Core.Tests/bin/Debug/netcoreapp1.0/Microsoft.OData.Core.Tests.dll", |
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.
should we have configurations other than core?
"type": "process", | ||
"args": [ | ||
"build", | ||
"${workspaceFolder}/test/FunctionalTests/Microsoft.OData.Core.Tests/Microsoft.OData.Core.Tests.NetCore.csproj" |
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.
should we have tasks for projects other than netcore.csproj?
@mikepizzo your are right. I doesn't check what vscode has created. (in my normal projects it's works) I have try to get this working but have some questions. There is a If I look in the build log I see that the restoring of the dotnet core projects not working right. It doesn't create a So I search for this error in the WWW and found this. This means maybe we use the wrong nuget.exe. So I looked in the But this is not my main problem. My main problem is that I can't run the dotnet core projects because there are everywhere Illegales Zeichen im Pfad. in englisch it means: Illegal character in path So if I replace all H:\develop\odata.net\sln\packages\StyleCop.MSBuild.4.7.49.0\build\StyleCop.MSBuild.Targets(98,5): error MSB4062: Die StyleCopTask-Aufgabe konnte nicht aus der H:\develop\odata.net\sln\packages\StyleCop.MSBuild.4.7.49.0\build\..\tools\StyleCop.dll-Assembly geladen werden. Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Das System kann die angegebene Datei nicht finden. Stellen Sie sicher, dass die <UsingTask>-Deklaration korrekt ist, die Assembly und alle zugehörigen Abhängigkeiten verfügbar sind und die Aufgabe eine öffentliche Klasse enthält, die Microsoft.Build.Framework.ITask implementiert. [H:\develop\odata.net\src\Microsoft.Spatial\Microsoft.Spatial.NetStandard.VS2017.csproj]
H:\develop\odata.net\sln\packages\StyleCop.MSBuild.4.7.49.0\build\StyleCop.MSBuild.Targets(98,5): error MSB4062: Die StyleCopTask-Aufgabe konnte nicht aus der H:\develop\odata.net\sln\packages\StyleCop.MSBuild.4.7.49.0\build\..\tools\StyleCop.dll-Assembly geladen werden. Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Das System kann die angegebene Datei nicht finden. Stellen Sie sicher, dass die <UsingTask>-Deklaration korrekt ist, die Assembly und alle zugehörigen Abhängigkeiten verfügbar sind und die Aufgabe eine öffentliche Klasse enthält, die Microsoft.Build.Framework.ITask implementiert. [H:\develop\odata.net\src\Microsoft.OData.Edm\Microsoft.OData.Edm.NetStandard.VS2017.csproj] so in conclusion I have to question:
Befor this isn't clear I can't add the vscode support to this project for build and debug. |
Thanks for the follow-up @paule96. Assigning this to @KanishManuja-MS, who is on-call this week, to follow up on the build issues. |
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.
@paule96 This is interesting. The build should work fine, I wonder if it has to do with the locale setting for you?
f9519fd
to
14a4b12
Compare
Issues
This have no Issue.
Description
This add the build assets to hit F5 in vscode too.
This comes from the PR #1348 and has been discussed with @mikepizzo .
Checklist (Uncheck if it is not completed)
Test cases added-> no because I don't change codeBuild and test with one-click build and test script passed-> no because I don't change code