[go: nahoru, domu]

Skip to content

Commit

Permalink
Fixes in the generated projects: now all test projects build, though …
Browse files Browse the repository at this point in the history
…not all tests are passing, only net45 is passing all tests
  • Loading branch information
masbicudo committed Dec 15, 2017
1 parent 831e25e commit 65aaa14
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ProjectGenerator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ static void Main(string[] args)
{ $"TestProjectName", TestProjectName },
{ $"TestProjectGuid", "{6F8C92C5-38F6-460E-9DDA-6334A1575B31}" },
{ $"TestProjectRefGuid", "{2FDD0DD1-E278-4AEE-9FD1-69702458519C}" },
{ $"ProjectRefGuid", "{82EDA29D-A16E-43D9-8A9A-14E34410B9DB}" },
{ $"ProjectName", ProjectName },
{ $"CurrentYear", DateTime.Now.Year },
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,25 @@
<Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\MSTest.TestFramework.1.2.0\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
</ItemGroup>
<ItemGroup>
%Begin:FileInclude%<Compile Include="%CurrentValue%" />
%End:FileInclude%
<Compile Include="Properties\AssemblyInfo.cs" />
%End:FileInclude%<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\%ProjectName%\%ProjectName%.csproj">
<Project>%ProjectRefGuid%</Project>
<Name>%ProjectName%</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
Expand Down

0 comments on commit 65aaa14

Please sign in to comment.