Skip to content

Commit

Permalink
Build and packaging update.
Browse files Browse the repository at this point in the history
  • Loading branch information
tillig committed Jan 31, 2020
1 parent ec97fff commit 32f6cfe
Show file tree
Hide file tree
Showing 12 changed files with 322 additions and 273 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ x64/
# Visual Studio 2015 cache/options directory
.dotnet/
.vs/
.vscode/
.cr/

# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
Expand Down
23 changes: 23 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"configurations": [
{
"args": [
],
"console": "internalConsole",
"cwd": "${workspaceFolder}/test/Autofac.Configuration.Test",
"name": ".NET Core Launch (console)",
"preLaunchTask": "build",
"program": "${workspaceFolder}/test/Autofac.Extras.FakeItEasy.Test/bin/Debug/netcoreapp3.0/Autofac.Extras.FakeItEasy.Test.dll",
"request": "launch",
"stopAtEntry": false,
"type": "coreclr"
},
{
"name": ".NET Core Attach",
"processId": "${command:pickProcess}",
"request": "attach",
"type": "coreclr"
}
],
"version": "0.2.0"
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"dotnet-test-explorer.runInParallel": true,
"dotnet-test-explorer.testProjectPath": "test/**/*.Test.csproj"
}
21 changes: 21 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"tasks": [
{
"args": [
"build",
"${workspaceFolder}/Autofac.Extras.FakeItEasy.sln",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"command": "dotnet",
"group": {
"isDefault": true,
"kind": "build"
},
"label": "build",
"problemMatcher": "$msCompile",
"type": "process"
}
],
"version": "2.0.0"
}
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: 5.0.1.{build}
version: 6.0.0.{build}

configuration: Release

os: Visual Studio 2017
image: Visual Studio 2019

environment:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
Expand Down
6 changes: 0 additions & 6 deletions build/Analyzers.ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
<RuleSet Name="Autofac Analyzer Rules" Description="Analyzer rules for Autofac assemblies." ToolsVersion="14.0">
<!-- https://github.com/dotnet/roslyn/blob/master/docs/compilers/Rule%20Set%20Format.md -->
<IncludeAll Action="Warning" />
<Rules AnalyzerId="Microsoft.Usage" RuleNamespace="Microsoft.Usage">
<!-- Implement serialization constructors - false positive when building .NET Core -->
<Rule Id="CA2229" Action="None" />
<!-- Mark ISerializable types with SerializableAttribute - false positive when building .NET Core -->
<Rule Id="CA2237" Action="None" />
</Rules>
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
<!-- Prefix local calls with this -->
<Rule Id="SA1101" Action="None" />
Expand Down
2 changes: 1 addition & 1 deletion build/Autofac.Build.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
ModuleList = @()
FileList = @()
PrivateData = ''
}
}
Loading

0 comments on commit 32f6cfe

Please sign in to comment.