Skip to content

Commit 4e910d0

Browse files
committed
Disable Nullable on .csproj [b0f0e20, 2af3ab7]
"Possible null reference argument for parameter 's' in 'int int.Parse(string s)'" It was the only warning that messed with my head. ------------------------------------------------------------------------ modified: StudentManagementSystem/StudentManagementSystem.csproj
1 parent 2af3ab7 commit 4e910d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

StudentManagementSystem/StudentManagementSystem.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<OutputType>Exe</OutputType>
55
<TargetFramework>net7.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
7-
<Nullable>enable</Nullable> <!-- Don't know why this shit isn't working! -->
7+
<Nullable>disable</Nullable> <!-- When disabled, the warning "Possible null reference argument for parameter 's' in 'int int.Parse(string s)'" &++ will be ignored. --><!-- Especially for this project, it was the only warning that messed with my head. -->
88
<!-- Dev Dependency??? -->
99
<RestorePackagesPath>..\packages</RestorePackagesPath> <!-- All packages will be restored in project root folder -->
1010
<!-- End -->

0 commit comments

Comments
 (0)