Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Updating to .NET 6 #2

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion TemperatureExceptions/TemperatureExceptions.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>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

</Project>
25 changes: 25 additions & 0 deletions TemperatureExceptions/TemperatureExceptions.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 25.0.1703.6
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TemperatureExceptions", "TemperatureExceptions.csproj", "{8F9A99A5-7F16-4F7C-A986-894070313962}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8F9A99A5-7F16-4F7C-A986-894070313962}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8F9A99A5-7F16-4F7C-A986-894070313962}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8F9A99A5-7F16-4F7C-A986-894070313962}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8F9A99A5-7F16-4F7C-A986-894070313962}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {6B12E250-6309-4A9A-8C36-5FE1F8EBCAB7}
EndGlobalSection
EndGlobal
1 change: 1 addition & 0 deletions Unit1-TempExceptions/Unit1-TempExceptions/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;

//Book examples for the Unit 1 C# Program
//to run program use terminal and type "dotnet run"

namespace Unit1_TempExceptions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>Unit1_TempExceptions</RootNamespace>
</PropertyGroup>

Expand Down
25 changes: 25 additions & 0 deletions Unit1-TempExceptions/Unit1-TempExceptions/Unit1-TempExceptions.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 25.0.1703.6
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Unit1-TempExceptions", "Unit1-TempExceptions.csproj", "{2422319F-028E-443B-97E0-59EE71A3B07C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2422319F-028E-443B-97E0-59EE71A3B07C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2422319F-028E-443B-97E0-59EE71A3B07C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2422319F-028E-443B-97E0-59EE71A3B07C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2422319F-028E-443B-97E0-59EE71A3B07C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {F97D3ED4-ADFC-4D04-88BB-50DC8DBFE651}
EndGlobalSection
EndGlobal
6 changes: 3 additions & 3 deletions csharp-web-dev-exceptions/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ static int CheckFileExtension(string fileName)
}
*/


static void Main(string[] args)
{
// Test out your Divide() function here!

// Test out your CheckFileExtension() function here!

Dictionary<string, string> students = new Dictionary<string, string>();
students.Add("Carl", "Program.cs");
students.Add("Brad", "");
students.Add("Elizabeth", "MyCode.cs");
students.Add("Stefanie", "CoolProgram.cs");


students.Add("Stefanie", "CoolProgram.cs");
}
}
}
2 changes: 1 addition & 1 deletion csharp-web-dev-exceptions/csharp-web-dev-exceptions.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>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>csharp_web_dev_lsn9exceptions</RootNamespace>
</PropertyGroup>

Expand Down
25 changes: 25 additions & 0 deletions csharp-web-dev-exceptions/csharp-web-dev-exceptions.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 25.0.1703.6
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "csharp-web-dev-exceptions", "csharp-web-dev-exceptions.csproj", "{B1E613FF-9A83-4875-81AD-8537DDDFCE0E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B1E613FF-9A83-4875-81AD-8537DDDFCE0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B1E613FF-9A83-4875-81AD-8537DDDFCE0E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B1E613FF-9A83-4875-81AD-8537DDDFCE0E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B1E613FF-9A83-4875-81AD-8537DDDFCE0E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {28D40D3E-4831-4F20-BC01-19F7A776CFFF}
EndGlobalSection
EndGlobal