-
Notifications
You must be signed in to change notification settings - Fork 1
Project file fixes
guryanovev edited this page Aug 2, 2013
·
2 revisions
Default project file should be fixed to support Mono build. So these steps should be taken for every newly created project:
- Unload the project in VS (right mouse click -> Unload project);
- Edit project file (right mouse click -> Edit [PROJECT NAME]);
- Find the line at the end of the file:
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
- Replace this line with these lines:
<Import Condition="HasTrailingSlash('$(SolutionDir)')" Project="$(SolutionDir).nuget\nuget.targets" />
<Import Condition="!HasTrailingSlash('$(SolutionDir)')" Project="$(SolutionDir)\.nuget\nuget.targets" />