-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to preview2-final dependencies. Use project references everywh…
…ere. Many other cleanups and updates.
- Loading branch information
1 parent
e77120f
commit 6507fe8
Showing
32 changed files
with
157 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 15 | ||
VisualStudioVersion = 15.0.26711.1 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Blazor.VSExtension", "template\Blazor.VSExtension\Blazor.VSExtension.csproj", "{315CDAF0-09E2-46B6-BF9A-600E9E987F05}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MyApplication", "template\MyApplication\MyApplication.csproj", "{49C6A338-C946-42D1-A2C7-A1436679313E}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{B84AADE3-D82B-4E03-9C39-6D882E59D69D}" | ||
ProjectSection(SolutionItems) = preProject | ||
build-vsextension.cmd = build-vsextension.cmd | ||
EndProjectSection | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{315CDAF0-09E2-46B6-BF9A-600E9E987F05}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{315CDAF0-09E2-46B6-BF9A-600E9E987F05}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{315CDAF0-09E2-46B6-BF9A-600E9E987F05}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{315CDAF0-09E2-46B6-BF9A-600E9E987F05}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{49C6A338-C946-42D1-A2C7-A1436679313E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{49C6A338-C946-42D1-A2C7-A1436679313E}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{49C6A338-C946-42D1-A2C7-A1436679313E}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{49C6A338-C946-42D1-A2C7-A1436679313E}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {58DF0713-610A-47A0-951A-C8D9C24722A8} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,12 @@ | ||
@echo off | ||
|
||
@rem -- Restoring/building corlib first because of this issue: https://github.com/Microsoft/msbuild/issues/2065 | ||
@rem -- | ||
@rem -- Other projects have to be built in a specific order, because they mostly consume each other via package | ||
@rem -- references rather than project references. This is necessary because regular project references aren't | ||
@rem -- included transitively for things shipped as packages (i.e., it's not clear what the .NET Core MSBuild | ||
@rem -- equivalent to IncludeReferencedProjects is), and also because the template app can only obtain the | ||
@rem -- dotnet custom tool and MSBuild targets by consuming the framework projects as actual packages. | ||
@rem -- | ||
@rem -- Unfortunately this also means that whenever you edit and rebuild a framework project, you have to manually | ||
@rem -- "dotnet restore" in any other projects that consume it. | ||
for %%s in ( | ||
"src\DNA\corlib" | ||
"src\AngleSharp" | ||
"src\Blazor.Runtime" | ||
"src\Blazor.Compiler" | ||
"src\Blazor.Host" | ||
"template\MyApplication" | ||
"samples\ClientServerApp\ClientServerApp.Shared" | ||
"samples\ClientServerApp\ClientServerApp.Client" | ||
"samples\ClientServerApp\ClientServerApp.Server" | ||
) do ( | ||
dotnet restore %%s | ||
if ERRORLEVEL 1 goto :fail | ||
|
||
dotnet build %%s | ||
if ERRORLEVEL 1 goto :fail | ||
) | ||
|
||
:done | ||
@echo --- | ||
@echo Build succeeded | ||
@exit /b 0 | ||
|
||
:fail | ||
@echo --- | ||
@echo Build failed | ||
@exit /b %ERRORLEVEL% | ||
setlocal | ||
for /f %%a in ('wmic os get LocalDateTime ^| findstr \.') do set tmp=%%a | ||
set timestamp=%tmp:~0,14% | ||
endlocal & set versionsuffix=t-%timestamp% | ||
|
||
echo Building packages with version suffix %versionsuffix%... | ||
dotnet build --no-restore ^ | ||
src\Blazor.Host\Blazor.Host.csproj ^ | ||
/property:GeneratePackageOnBuild=true ^ | ||
/property:VersionSuffix=%versionsuffix% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 8 additions & 11 deletions
19
samples/ClientServerApp/ClientServerApp.Server/ClientServerApp.Server.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.