Skip to content

Commit

Permalink
Updated csproj file to new format
Browse files Browse the repository at this point in the history
  • Loading branch information
snakefoot committed Apr 20, 2021
1 parent 9afc51a commit 9f15430
Show file tree
Hide file tree
Showing 9 changed files with 73 additions and 281 deletions.
11 changes: 8 additions & 3 deletions SnakeTail.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C# Express 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SnakeTail", "SnakeTail\SnakeTail.csproj", "{003BAF38-EE59-46AB-A90E-46B51791CDEA}"
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30907.101
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SnakeTail", "SnakeTail\SnakeTail.csproj", "{003BAF38-EE59-46AB-A90E-46B51791CDEA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -17,4 +19,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {99F6DDC2-B98F-4FDE-9C15-0F8BA0BA9301}
EndGlobalSection
EndGlobal
39 changes: 30 additions & 9 deletions SnakeTail/App.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
xmlns="urn:schemas-microsoft-com:asm.v1"
xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<assemblyIdentity version="1.0.0.0" name="Q2ANotify"/>

<assemblyIdentity version="1.0.0.0" name="SnakeTail"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
Expand All @@ -15,8 +15,9 @@

<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- A list of all Windows versions that this application is designed to work with.
Windows will automatically select the most compatible environment.-->
<!-- A list of the Windows versions that this application has been tested on
and is designed to work with. Uncomment the appropriate elements
and Windows will automatically select the most compatible environment. -->

<!-- Windows Vista -->
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
Expand All @@ -28,12 +29,32 @@
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
<!-- Windows 10-->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>

</application>
</compatibility>

<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>true</dpiAware>
</asmv3:windowsSettings>
</asmv3:application>
<!-- Indicates that the application is DPI-aware and will not be automatically scaled by Windows at higher
DPIs. Windows Presentation Foundation (WPF) applications are automatically DPI-aware and do not need
to opt in. Windows Forms applications targeting .NET Framework 4.6 that opt into this setting, should
also set the 'EnableWindowsFormsHighDpiAutoResizing' setting to 'true' in their app.config. -->
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>

<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>

</assembly>
2 changes: 1 addition & 1 deletion SnakeTail/LogFileStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public LogFileStream(string configPath, string filePath, Encoding fileEncoding,
_fileCheckFrequency = TimeSpan.FromSeconds(fileCheckFrequency);
_fileCheckPattern = fileCheckPattern;
if (_fileCheckPattern)
_threadPool = new ThreadPoolQueue();
_threadPool = new ThreadPoolQueue(0);
LoadFile(_filePathAbsolute, _fileEncoding, _fileCheckPattern);
}

Expand Down
27 changes: 0 additions & 27 deletions SnakeTail/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,39 +13,12 @@
*/
#endregion

using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SnakeTail")]
[assembly: AssemblyDescription("Windows Tail Utility to Monitor Trace Log Files")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("SnakeNest.com")]
[assembly: AssemblyProduct("SnakeTail")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("ab1b2cdc-aa1e-4f12-a7c7-41959547a15c")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.9.6.0")]
[assembly: AssemblyFileVersion("1.9.6.0")]
Loading

0 comments on commit 9f15430

Please sign in to comment.