Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
[Nitra.LanguageCompiler] Fix ExternalDependency SMBuild property.
Browse files Browse the repository at this point in the history
  • Loading branch information
VladD2 committed Feb 21, 2016
1 parent aac936b commit 5906cf0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
1 change: 0 additions & 1 deletion .nuget/packages.config
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Wave" version="1.0.0.0" />
</packages>
22 changes: 12 additions & 10 deletions Nitra.LanguageCompiler/Nitra.LanguageCompiler.nproj
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<CommonFilesPath Condition=" '$(CommonFilesPath)' == '' ">..\Common</CommonFilesPath>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand Down Expand Up @@ -250,16 +252,16 @@
<Import Project="$(Nemerle)\Nemerle.MSBuild.targets" />
<ItemGroup>
<ExternalDependency Include="..\$(OutDir)Stage2\Nemerle.dll" />
<ExternalDependency Include="..\Ide\Nitra.MSBuild.Tasks\$(OutDir)Microsoft.VisualStudio.ExtensionManager.dll" />
<ExternalDependency Include="..\Ide\Nitra.MSBuild.Tasks\$(OutDir)Microsoft.VisualStudio.ExtensionManager.Implementation.dll" />
<ExternalDependency Include="..\Ide\Nitra.MSBuild.Tasks\$(OutDir)Shell.Interop.dll" />
<ExternalDependency Include="..\Ide\Nitra.MSBuild.Tasks\$(OutDir)Nitra.MSBuild.Tasks.dll" />
<ExternalDependency Include="..\packages\VSSDK.Shell.12.12.0.4\lib\net45\Microsoft.VisualStudio.Shell.12.0.dll" />
<ExternalDependency Include="..\packages\VSSDK.Settings.12.12.0.4\lib\net40\Microsoft.VisualStudio.Settings.12.0.dll" />
<ExternalDependency Include="..\$(OutDir)Stage2\Nemerle.dll" />
<ExternalDependency Include="..\$(OutDir)Stage2\Nitra.Runtime.dll" />
<ExternalDependency Include="..\Ide\Nitra.VisualStudio\$(OutDir)Nemerle.Diff.dll" />
<ExternalDependency Include="..\Ide\Nitra.VisualStudio\$(OutDir)Nitra.VisualStudio.dll" />
<ExternalDependency Include="$(SolutionDir)ExternalTools\VSSDK2013\PrivateAssemblies\Microsoft.VisualStudio.ExtensionManager.dll" />
<ExternalDependency Include="$(SolutionDir)ExternalTools\VSSDK2013\PrivateAssemblies\Microsoft.VisualStudio.ExtensionManager.Implementation.dll" />
<ExternalDependency Include="$(SolutionDir)Ide\Nitra.MSBuild.Tasks\$(OutDir)Shell.Interop.dll" />
<ExternalDependency Include="$(SolutionDir)Ide\Nitra.MSBuild.Tasks\$(OutDir)Nitra.MSBuild.Tasks.dll" />
<ExternalDependency Include="$(SolutionDir)Ide\Nitra.VisualStudio\$(OutDir)Nemerle.Diff.dll" />
<ExternalDependency Include="$(SolutionDir)Ide\Nitra.VisualStudio\$(OutDir)Nitra.VisualStudio.dll" />
<ExternalDependency Include="$(SolutionDir)packages\VSSDK.Shell.12.12.0.4\lib\net45\Microsoft.VisualStudio.Shell.12.0.dll" />
<ExternalDependency Include="$(SolutionDir)packages\VSSDK.Settings.12.12.0.4\lib\net40\Microsoft.VisualStudio.Settings.12.0.dll" />
<ExternalDependency Include="$(SolutionDir)$(OutDir)Stage2\Nemerle.dll" />
<ExternalDependency Include="$(SolutionDir)$(OutDir)Stage2\Nitra.Runtime.dll" />
</ItemGroup>
<ItemGroup>
<VSSDK Include="$(ProjectDir)..\ExternalTools\VSSDK2013\**\*.*" />
Expand Down
9 changes: 9 additions & 0 deletions Tests/Nitra.Ide.Macros.Tests/Nitra.Ide.Macros.Tests.nproj
Expand Up @@ -17,6 +17,8 @@
<NemerleBinPathRoot Condition=" '$(NemerleBinPathRoot)' == '' ">$(ProgramFiles)\Nemerle</NemerleBinPathRoot>
<Nemerle Condition=" '$(Nemerle)' == '' ">$(NemerleBinPathRoot)\$(NemerleVersion)</Nemerle>
<Name>Nitra.Ide.Macros.Tests</Name>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -88,6 +90,13 @@
</Content>
</ItemGroup>
<Import Project="$(Nemerle)\Nemerle.MSBuild.targets" />
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
</Target>
<!--
To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down

0 comments on commit 5906cf0

Please sign in to comment.