Skip to content

Commit

Permalink
ajustes em relação aos targetFrameworks
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardomps committed Mar 15, 2020
1 parent b6f6ef0 commit b12c953
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 42 deletions.
42 changes: 4 additions & 38 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,38 +1,4 @@
duplicados/bin/Debug/netcoreapp3.1/duplicados
duplicados/bin/Debug/netcoreapp3.1/duplicados.deps.json
duplicados/bin/Debug/netcoreapp3.1/duplicados.dll
duplicados/bin/Debug/netcoreapp3.1/duplicados.pdb
duplicados/bin/Debug/netcoreapp3.1/duplicados.runtimeconfig.dev.json
duplicados/bin/Debug/netcoreapp3.1/duplicados.runtimeconfig.json
duplicados/obj/duplicados.csproj.nuget.cache
duplicados/obj/duplicados.csproj.nuget.dgspec.json
duplicados/obj/duplicados.csproj.nuget.g.props
duplicados/obj/duplicados.csproj.nuget.g.targets
duplicados/obj/project.assets.json
duplicados/obj/Debug/netcoreapp3.1/duplicados
duplicados/obj/Debug/netcoreapp3.1/duplicados.AssemblyInfo.cs
duplicados/obj/Debug/netcoreapp3.1/duplicados.AssemblyInfoInputs.cache
duplicados/obj/Debug/netcoreapp3.1/duplicados.assets.cache
duplicados/obj/Debug/netcoreapp3.1/duplicados.csproj.FileListAbsolute.txt
duplicados/obj/Debug/netcoreapp3.1/duplicados.csprojAssemblyReference.cache
duplicados/obj/Debug/netcoreapp3.1/duplicados.dll
duplicados/obj/Debug/netcoreapp3.1/duplicados.pdb
palindromos/bin/Debug/netcoreapp3.1/palindromos
palindromos/bin/Debug/netcoreapp3.1/palindromos.deps.json
palindromos/bin/Debug/netcoreapp3.1/palindromos.dll
palindromos/bin/Debug/netcoreapp3.1/palindromos.pdb
palindromos/bin/Debug/netcoreapp3.1/palindromos.runtimeconfig.dev.json
palindromos/bin/Debug/netcoreapp3.1/palindromos.runtimeconfig.json
palindromos/obj/palindromos.csproj.nuget.cache
palindromos/obj/palindromos.csproj.nuget.dgspec.json
palindromos/obj/palindromos.csproj.nuget.g.props
palindromos/obj/palindromos.csproj.nuget.g.targets
palindromos/obj/project.assets.json
palindromos/obj/Debug/netcoreapp3.1/palindromos
palindromos/obj/Debug/netcoreapp3.1/palindromos.AssemblyInfo.cs
palindromos/obj/Debug/netcoreapp3.1/palindromos.AssemblyInfoInputs.cache
palindromos/obj/Debug/netcoreapp3.1/palindromos.assets.cache
palindromos/obj/Debug/netcoreapp3.1/palindromos.csproj.FileListAbsolute.txt
palindromos/obj/Debug/netcoreapp3.1/palindromos.csprojAssemblyReference.cache
palindromos/obj/Debug/netcoreapp3.1/palindromos.dll
palindromos/obj/Debug/netcoreapp3.1/palindromos.pdb
duplicados/bin/*
duplicados/obj/*
palindromos/bin/*
palindromos/obj/*
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/duplicados/bin/Debug/netcoreapp3.1/duplicados.dll",
"args": [],
"args": ["002,12,4,97866,1234,9,35,3456,12,3"],
"cwd": "${workspaceFolder}/duplicados",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
Expand Down
2 changes: 1 addition & 1 deletion duplicados/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private static (bool validArgs, string errorMessage) ValidateArgs(string numbers
{
return (false,"Separador não encontrado na lista!");
}
if(!Regex.IsMatch(numbers,@$"^(\d+)({separator}\d+)*"))
if(!Regex.IsMatch(numbers,$@"^(\d+)({separator}\d+)*"))
{
return (false,"Lista inválida!");
}
Expand Down
2 changes: 1 addition & 1 deletion duplicados/duplicados.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFrameworks>netcoreapp3.1;netcoreapp3.0;netcoreapp2.2;netcoreapp2.1;netcoreapp2.0</TargetFrameworks>
</PropertyGroup>

</Project>
2 changes: 1 addition & 1 deletion palindromos/palindromos.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFrameworks>netcoreapp3.1;netcoreapp3.0;netcoreapp2.2;netcoreapp2.1;netcoreapp2.0</TargetFrameworks>
</PropertyGroup>

</Project>

0 comments on commit b12c953

Please sign in to comment.