Permalink
Browse files

Fixed build?

  • Loading branch information...
RSuter committed Sep 22, 2017
1 parent cb54508 commit 5afb2fe5ceb7a4c471cdef83ca90df1b4eef2060
View
@@ -3,7 +3,8 @@ mkdir "%~dp0\..\src\NSwag.Npm\bin\binaries"
REM Build and copy full .NET command line
"%~dp0/nuget.exe" restore "%~dp0/../src/NSwag.sln"
msbuild "%~dp0/../src/NSwag.sln" /p:Configuration=Release /t:rebuild || goto :error
dotnet restore "%~dp0/../src/NSwag.sln"
msbuild "%~dp0/../src/NSwag.sln" /p:Configuration=Release || goto :error
xcopy "%~dp0/../src/NSwag.Console/bin/Release/net461" "%~dp0/../src/NSwag.Npm/bin/binaries/Win" /E /I /y
xcopy "%~dp0\..\src\NSwag.Console.x86\bin\Release\net461\NSwag.x86.exe" "%~dp0\..\src\NSwag.Npm\bin\binaries\Win"

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -61,10 +61,5 @@ public WebApiToSwaggerGeneratorSettings()
/// <summary>Gets or sets a value indicating whether to add path parameters which are missing in the action method.</summary>
public bool AddMissingPathParameters { get; set; }
internal JsonContract ResolveContract(Type parameterType)
{
return ActualContractResolver.ResolveContract(parameterType);
}
}
}
View
@@ -12,10 +12,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NSwag.CodeGeneration.Tests"
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NSwagStudio", "NSwagStudio\NSwagStudio.csproj", "{DADA2D11-14E2-40B1-B31D-B68D6F18378C}"
ProjectSection(ProjectDependencies) = postProject
{26CBD69C-EE7C-4D81-8D62-410F4AD4876B} = {26CBD69C-EE7C-4D81-8D62-410F4AD4876B}
{78F6BDD4-8F25-4CE4-B926-60F19BA657E9} = {78F6BDD4-8F25-4CE4-B926-60F19BA657E9}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NSwag.Tests", "NSwag.Tests\NSwag.Tests.csproj", "{8232C857-CAA5-400C-8EC5-6239C799BAF5}"
ProjectSection(ProjectDependencies) = postProject
@@ -305,6 +305,14 @@
<Project>{71b39c21-46a2-471b-aace-226c575b8ac1}</Project>
<Name>NSwag.Commands</Name>
</ProjectReference>
<ProjectReference Include="..\NSwag.Console.x86\NSwag.Console.x86.csproj">
<Project>{78f6bdd4-8f25-4ce4-b926-60f19ba657e9}</Project>
<Name>NSwag.Console.x86</Name>
</ProjectReference>
<ProjectReference Include="..\NSwag.Console\NSwag.Console.csproj">
<Project>{26cbd69c-ee7c-4d81-8d62-410f4ad4876b}</Project>
<Name>NSwag.Console</Name>
</ProjectReference>
<ProjectReference Include="..\NSwag.Core\NSwag.Core.csproj">
<Project>{2E6174AA-FC75-4821-9E86-51B30568BEC0}</Project>
<Name>NSwag.Core</Name>

0 comments on commit 5afb2fe

Please sign in to comment.