Skip to content

Commit 576760c

Browse files
committed
package updates
1 parent 48394be commit 576760c

File tree

9 files changed

+26
-13
lines changed

9 files changed

+26
-13
lines changed

Directory.Build.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
<RepositoryType>git</RepositoryType>
1616
<ProjectUrl>https://github.com/StackExchange/StackExchange.Precompilation</ProjectUrl>
1717
<PackageReleaseNotes><![CDATA[
18+
Version 5.1.0
19+
* updating roslyn packages to 2.10.0
20+
* updating mvc packages to 5.2.7
21+
1822
Version 5.0.0
1923
* updating how Precompilation.Build resolves it's Workspaces dependency
2024
* retiring Precompilation.Metaprogramming

StackExchange.Precompilation.Build/CompilationAssemblyResolver.cs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,15 @@ void Resolve(AssemblyName name, Func<Assembly> loader)
4040
.AsParallel()
4141
.ForAll(dll =>
4242
{
43-
var assemblyName = AssemblyName.GetAssemblyName(dll);
44-
Resolve(assemblyName, () => Assembly.LoadFile(dll));
43+
try
44+
{
45+
var assemblyName = AssemblyName.GetAssemblyName(dll);
46+
Resolve(assemblyName, () => Assembly.LoadFile(dll));
47+
}
48+
catch (Exception ex)
49+
{
50+
Console.WriteLine("hidden: failed to resolve assembly {0}: {1}", dll, ex.Message);
51+
}
4552
});
4653

4754
// load all the other references

StackExchange.Precompilation.Build/StackExchange.Precompilation.Build.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<Project>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Project>
1717
<Name>StackExchange.Precompilation</Name>
1818
</ProjectReference>
19-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="2.8.2" PrivateAssets="all" />
19+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="2.10.0" PrivateAssets="all" />
2020
</ItemGroup>
2121

2222
<Target Name="_ToolsSetup">

StackExchange.Precompilation/StackExchange.Precompilation.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
</PropertyGroup>
99
<ItemGroup>
1010
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.4.1" />
11-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.8.2" ExcludeAssets="analyzers"/>
11+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.10.0" ExcludeAssets="analyzers"/>
1212
</ItemGroup>
1313
</Project>

StackExhcange.Precompilation.MVC5/StackExchange.Precompilation.MVC5.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
</PropertyGroup>
99
<ItemGroup>
1010
<Reference Include="System.Web" />
11-
<PackageReference Include="Microsoft.AspNet.Mvc" Version="5.2.4" />
11+
<PackageReference Include="Microsoft.AspNet.Mvc" Version="5.2.7" />
1212
<ProjectReference Include="..\StackExchange.Precompilation\StackExchange.Precompilation.csproj" />
1313

14-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="2.8.2" PrivateAssets="all" />
14+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="2.10.0" PrivateAssets="all" />
1515
<ProjectReference Include="..\StackExchange.Precompilation.Build\StackExchange.Precompilation.Build.csproj" IncludeAssets="compile" PrivateAssets="all" />
1616
</ItemGroup>
1717
</Project>

Test.ConsoleApp/Test.ConsoleApp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
but since we don't have the package yet, msbuild complains about the .csproj not targeting netstandard,
2323
so we're pulling it's references in manually.
2424
-->
25-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="2.8.2" IncludeAssets="compile" PrivateAssets="all" />
25+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="2.10.0" IncludeAssets="compile" PrivateAssets="all" />
2626
</ItemGroup>
2727
<Import Project="..\StackExchange.Precompilation.Build\StackExchange.Precompilation.Build.targets" />
2828
</Project>

Test.WebApp.ExternalViews/Test.WebApp.ExternalViews.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
</ItemGroup>
2121
<ItemGroup>
2222
<Reference Include="System.Web" />
23-
<PackageReference Include="Microsoft.AspNet.Mvc" Version="5.2.4" />
24-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.8.2" />
23+
<PackageReference Include="Microsoft.AspNet.Mvc" Version="5.2.7" />
24+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.10.0" />
2525
</ItemGroup>
2626
<PropertyGroup>
2727
<SEPrecompilerPath Condition="'$(SEPrecompilerPath)' == ''">$(SolutionDir)StackExchange.Precompilation.Build\bin\$(Configuration)\$(TargetFramework)\</SEPrecompilerPath>

Test.WebApp/Test.WebApp.csproj

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
<UseGlobalApplicationHostFile />
2727
<TargetFrameworkProfile />
2828
<RuntimeIdentifiers>win</RuntimeIdentifiers>
29+
<DependsOnNETStandard>false</DependsOnNETStandard><!-- lies -->
2930
</PropertyGroup>
3031
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3132
<DebugSymbols>true</DebugSymbols>
@@ -58,6 +59,7 @@
5859
<Project>{5fcaecc3-787b-473f-a372-783d0c235190}</Project>
5960
<Name>Test.Module</Name>
6061
</ProjectReference>
62+
<Reference Include="netstandard" />
6163
</ItemGroup>
6264
<ItemGroup>
6365
<Compile Include="**\*.cs" Exclude="obj\**\*" />
@@ -67,9 +69,9 @@
6769
<ItemGroup>
6870
<Reference Include="System.Web" />
6971
<Reference Include="Microsoft.CSharp" />
70-
<PackageReference Include="Microsoft.AspNet.Mvc" Version="5.2.4" />
71-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.8.2" />
72-
<PackageReference Include="System.ValueTuple" Version="4.4.0" />
72+
<PackageReference Include="Microsoft.AspNet.Mvc" Version="5.2.7" />
73+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.10.0" />
74+
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
7375
<PackageReference Include="MSBuild.Microsoft.VisualStudio.Web.targets" Version="14.0.0.3" />
7476
</ItemGroup>
7577
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />

semver.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.0
1+
5.1.0

0 commit comments

Comments
 (0)