Skip to content

Commit

Permalink
Fixed bug related to methods not releasing the log file after use
Browse files Browse the repository at this point in the history
  • Loading branch information
Kvikku committed Feb 16, 2024
1 parent da2fb59 commit 25647da
Show file tree
Hide file tree
Showing 17 changed files with 9 additions and 5 deletions.
Binary file modified .vs/IntuneAssignments/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
Binary file modified .vs/IntuneAssignments/v17/.futdcache.v2
Binary file not shown.
Binary file modified .vs/IntuneAssignments/v17/.suo
Binary file not shown.
Binary file modified .vs/ProjectEvaluation/intuneassignments.metadata.v7.bin
Binary file not shown.
Binary file modified .vs/ProjectEvaluation/intuneassignments.projects.v7.bin
Binary file not shown.
8 changes: 6 additions & 2 deletions HomePage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,13 @@ private void createPrimaryLogFile()
using (FileStream fs = File.Create(primaryLogFile))
{
// Do nothing
WriteToLog("The log file is missing. It may have been deleted or it is the first time the app is running on the system");
WriteToLog("Creating the log file");


// Release the file

}


}
else
{
Expand Down
Binary file modified bin/Release/net6.0-windows10.0.22621.0/IntuneAssignments.dll
Binary file not shown.
Binary file modified bin/Release/net6.0-windows10.0.22621.0/IntuneAssignments.exe
Binary file not shown.
Binary file modified bin/Release/net6.0-windows10.0.22621.0/IntuneAssignments.pdb
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
[assembly: System.Reflection.AssemblyCompanyAttribute("IntuneAssignments")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+07192477fe826ab03279865a39f04b733b0458d5")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+da2fb59c2b26ab12bfcabf4efbaa4677c42c41f1")]
[assembly: System.Reflection.AssemblyProductAttribute("IntuneAssignments")]
[assembly: System.Reflection.AssemblyTitleAttribute("IntuneAssignments")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dd9293017b440d37fab2dc7d39d9e8d062ddc5ac7caa2edc77d209a5cba10b3c
ea23f3d14df94a9f7d2d763dbaaf9a6314ac5899aa6ea566f11ec1f8ccb7799f
Binary file modified obj/Release/net6.0-windows10.0.22621.0/IntuneAssignments.dll
Binary file not shown.
Binary file modified obj/Release/net6.0-windows10.0.22621.0/IntuneAssignments.pdb
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documents":{"C:\\Github\\IntuneAssignments\\*":"https://raw.githubusercontent.com/Kvikku/IntuneAssignments/07192477fe826ab03279865a39f04b733b0458d5/*"}}
{"documents":{"C:\\Github\\IntuneAssignments\\*":"https://raw.githubusercontent.com/Kvikku/IntuneAssignments/da2fb59c2b26ab12bfcabf4efbaa4677c42c41f1/*"}}
Binary file modified obj/Release/net6.0-windows10.0.22621.0/apphost.exe
Binary file not shown.
Binary file modified obj/Release/net6.0-windows10.0.22621.0/ref/IntuneAssignments.dll
Binary file not shown.
Binary file not shown.

0 comments on commit 25647da

Please sign in to comment.