diff --git a/snippets/csharp/System.Collections.ObjectModel/ObservableCollectionT/BlockReentrancy/ObservableCollection.csproj b/snippets/csharp/System.Collections.ObjectModel/ObservableCollectionT/BlockReentrancy/ObservableCollection.csproj index 8bc22b9e63e..f12f158f63b 100644 --- a/snippets/csharp/System.Collections.ObjectModel/ObservableCollectionT/BlockReentrancy/ObservableCollection.csproj +++ b/snippets/csharp/System.Collections.ObjectModel/ObservableCollectionT/BlockReentrancy/ObservableCollection.csproj @@ -1,65 +1,34 @@ - + + - Debug - AnyCPU - {ECFDBD90-E649-439C-86B1-4BCDD513E831} + WinExe + net10.0-windows + true + false ObservableCollection ObservableCollection - 4 - winexe - 1.0.0.* - - v4.8 - - - 10.0.20821 - - - true - full - false - .\bin\Debug\ - DEBUG;TRACE - false - - - false - true - .\bin\Release\ - TRACE - false + - - - - - - - - 4.0 - - - - + + - + + + MyApp.xaml - Code Window1.xaml - Code - - + - - \ No newline at end of file + + diff --git a/snippets/csharp/System.ComponentModel.Composition.Hosting/CompositionContainer/Compose/consoleapplication5.csproj b/snippets/csharp/System.ComponentModel.Composition.Hosting/CompositionContainer/Compose/consoleapplication5.csproj index 3747dcc3555..bdb2856c17a 100644 --- a/snippets/csharp/System.ComponentModel.Composition.Hosting/CompositionContainer/Compose/consoleapplication5.csproj +++ b/snippets/csharp/System.ComponentModel.Composition.Hosting/CompositionContainer/Compose/consoleapplication5.csproj @@ -1,62 +1,19 @@ - - + + - Debug - x86 - 8.0.30703 - 2.0 - {DE662508-F48E-46B8-8643-25194F143A5D} Exe - Properties + net10.0 + false ConsoleApplication5 ConsoleApplication5 - v4.8 - - - 512 - - x86 - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - x86 - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - + - - + + - + - - - \ No newline at end of file + + diff --git a/snippets/csharp/System.ComponentModel.Composition.Hosting/CompositionContainer/Overview/consoleapplication1.csproj b/snippets/csharp/System.ComponentModel.Composition.Hosting/CompositionContainer/Overview/consoleapplication1.csproj index bd52794c54f..96f51775830 100644 --- a/snippets/csharp/System.ComponentModel.Composition.Hosting/CompositionContainer/Overview/consoleapplication1.csproj +++ b/snippets/csharp/System.ComponentModel.Composition.Hosting/CompositionContainer/Overview/consoleapplication1.csproj @@ -1,64 +1,19 @@ - - + + - Debug - x86 - 8.0.30703 - 2.0 - {C52CD85F-DF08-4098-939E-530E96CFA764} Exe - Properties + net10.0 + false ConsoleApplication1 ConsoleApplication1 - v4.8 - - - 512 - - x86 - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - x86 - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - - - - - - - - - - - + - - + + - + - - - \ No newline at end of file + + diff --git a/snippets/csharp/System.ComponentModel.Composition.Hosting/DirectoryCatalog/classlibrary1/classlibrary1.csproj b/snippets/csharp/System.ComponentModel.Composition.Hosting/DirectoryCatalog/classlibrary1/classlibrary1.csproj index bcb0eb1d62e..59164a77c15 100644 --- a/snippets/csharp/System.ComponentModel.Composition.Hosting/DirectoryCatalog/classlibrary1/classlibrary1.csproj +++ b/snippets/csharp/System.ComponentModel.Composition.Hosting/DirectoryCatalog/classlibrary1/classlibrary1.csproj @@ -1,58 +1,18 @@ - - + + - Debug - AnyCPU - 8.0.30703 - 2.0 - {172E13FE-D215-4965-BC10-4C5862FFF253} - Library - Properties + net10.0 + false ClassLibrary1 ClassLibrary1 - v4.8 - 512 - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false + - - - - - - - - + + - - + - - - \ No newline at end of file + + diff --git a/snippets/csharp/System.ComponentModel.Composition.Hosting/DirectoryCatalog/consoleapplication7/consoleapplication7.csproj b/snippets/csharp/System.ComponentModel.Composition.Hosting/DirectoryCatalog/consoleapplication7/consoleapplication7.csproj index 3e3d5ea4ba2..267accc085c 100644 --- a/snippets/csharp/System.ComponentModel.Composition.Hosting/DirectoryCatalog/consoleapplication7/consoleapplication7.csproj +++ b/snippets/csharp/System.ComponentModel.Composition.Hosting/DirectoryCatalog/consoleapplication7/consoleapplication7.csproj @@ -1,64 +1,23 @@ - - + + - Debug - x86 - 8.0.30703 - 2.0 - {1A7B8943-6B33-4EFA-9172-2DAF9764E4F6} Exe - Properties + net10.0 + false ConsoleApplication7 ConsoleApplication7 - v4.8 - - 512 - - - x86 - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - x86 - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + - - - - - - - - + + - - + + - - {172E13FE-D215-4965-BC10-4C5862FFF253} - ClassLibrary1 - + - - - \ No newline at end of file + + diff --git a/snippets/csharp/System.ComponentModel.Composition/ExportAttribute/consoleapplication3.csproj b/snippets/csharp/System.ComponentModel.Composition/ExportAttribute/consoleapplication3.csproj index ff39dacde7c..55a05923a6d 100644 --- a/snippets/csharp/System.ComponentModel.Composition/ExportAttribute/consoleapplication3.csproj +++ b/snippets/csharp/System.ComponentModel.Composition/ExportAttribute/consoleapplication3.csproj @@ -1,58 +1,19 @@ - - + + - Debug - x86 - 8.0.30703 - 2.0 - {F3A57ADA-50F0-44A1-977F-57421561D677} Exe - Properties + net10.0 + false ConsoleApplication3 ConsoleApplication3 - v4.8 - - 512 - - - x86 - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - x86 - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + - - - - - - - - + + - - + - - - \ No newline at end of file + + diff --git a/snippets/csharp/System.IO.Packaging/CertificateEmbeddingOption/Overview/PackageDigitalSignature.cs b/snippets/csharp/System.IO.Packaging/CertificateEmbeddingOption/Overview/PackageDigitalSignature.cs index 1e13e83f19f..69857845e72 100644 --- a/snippets/csharp/System.IO.Packaging/CertificateEmbeddingOption/Overview/PackageDigitalSignature.cs +++ b/snippets/csharp/System.IO.Packaging/CertificateEmbeddingOption/Overview/PackageDigitalSignature.cs @@ -21,9 +21,6 @@ class PackageDigitalSignatureSample "http://schemas.microsoft.com/opc/2006/06/sample/document"; private static string _sampleResourceRelationshipType = "http://schemas.microsoft.com/xps/2005/06/required-resource"; - private static string _digitalSignatureUri = - "/package/services/digital-signature/_rels/origin.psdsor.rels"; - // ------------------------------ Main ------------------------------- public static void Main() { diff --git a/snippets/csharp/System.IO.Packaging/CertificateEmbeddingOption/Overview/PackageDigitalSignature.csproj b/snippets/csharp/System.IO.Packaging/CertificateEmbeddingOption/Overview/PackageDigitalSignature.csproj index 54ca270581f..d9ad4f6ed9b 100644 --- a/snippets/csharp/System.IO.Packaging/CertificateEmbeddingOption/Overview/PackageDigitalSignature.csproj +++ b/snippets/csharp/System.IO.Packaging/CertificateEmbeddingOption/Overview/PackageDigitalSignature.csproj @@ -1,51 +1,18 @@ - + + - PackageDigitalSignature + Exe + net10.0-windows + true + false SDKSample - exe - MSBuild - False - .\ - Debug - AnyCPU - 10.0.20821 - 2.0 - {3B97ACD1-C138-4AB8-B971-0BAAB389DD1C} - v4.8 - - - - true - full - false - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - TRACE - prompt - 4 + PackageDigitalSignature - - - - - 4.0 - - - - - - + + + - - - - - - \ No newline at end of file + + diff --git a/snippets/csharp/System.IO.Packaging/Package/GetPart/PackageRead.csproj b/snippets/csharp/System.IO.Packaging/Package/GetPart/PackageRead.csproj index 73338b415f0..efa0a7a3307 100644 --- a/snippets/csharp/System.IO.Packaging/Package/GetPart/PackageRead.csproj +++ b/snippets/csharp/System.IO.Packaging/Package/GetPart/PackageRead.csproj @@ -1,46 +1,16 @@ - + + - PackageRead + Exe + net10.0-windows + true + false SDKSample - exe - Debug - MSBuild - False - .\ - AnyCPU - 2.0 - {311B1331-9C08-414D-8BFD-1304C8DCF3AE} - v4.8 - - 10.0.20821 - - - true - full - false - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - TRACE - prompt - 4 + PackageRead - - - - - 4.0 - - - - - + - - \ No newline at end of file + + diff --git a/snippets/csharp/System.IO.Packaging/Package/Overview/PackageWrite.csproj b/snippets/csharp/System.IO.Packaging/Package/Overview/PackageWrite.csproj index 893fd402d1c..a2d5427099e 100644 --- a/snippets/csharp/System.IO.Packaging/Package/Overview/PackageWrite.csproj +++ b/snippets/csharp/System.IO.Packaging/Package/Overview/PackageWrite.csproj @@ -1,51 +1,21 @@ - + + - PackageWrite + Exe + net10.0-windows + true + false SDKSample - exe - Debug - MSBuild - False - - .\ - AnyCPU - 2.0 - {311B1331-9C08-414D-8BFD-1304C8DCF3AE} - v4.8 - - 10.0.20821 - - - true - full - false - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - TRACE - prompt - 4 + PackageWrite - - - - - 4.0 - - - - - + + - - \ No newline at end of file + + diff --git a/snippets/csharp/System.IO/StreamWriter/Overview/streamreadwrite.csproj b/snippets/csharp/System.IO/StreamWriter/Overview/streamreadwrite.csproj index 0d0225c6a67..571244b1df9 100644 --- a/snippets/csharp/System.IO/StreamWriter/Overview/streamreadwrite.csproj +++ b/snippets/csharp/System.IO/StreamWriter/Overview/streamreadwrite.csproj @@ -1,70 +1,15 @@ - - + + - Debug - AnyCPU - 9.0.30729 - 2.0 - {21033C36-54BA-40C3-8AF4-AE1BFB9F37B7} Exe - Properties + net10.0 + false StreamReadWrite StreamReadWrite - v4.8 - 512 - - - - - 3.5 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - - + - + - - - \ No newline at end of file + + diff --git a/snippets/csharp/System.Printing/Collation/Overview/XpsCreate.cs b/snippets/csharp/System.Printing/Collation/Overview/XpsCreate.cs index 99b4c94629a..885b9a3d00c 100644 --- a/snippets/csharp/System.Printing/Collation/Overview/XpsCreate.cs +++ b/snippets/csharp/System.Printing/Collation/Overview/XpsCreate.cs @@ -134,9 +134,9 @@ private void AddPackageContent( // Commit the FixedDocumentSequence documentSequenceWriter.Commit(); } - catch (XpsPackagingException xpsException) + catch (XpsPackagingException) { - throw xpsException; + throw; } }// end:AddPackageContent() // @@ -183,9 +183,9 @@ private void AddDocumentContent(IXpsFixedDocumentWriter fixedDocumentWriter) // Commit Page 2. fixedPageWriter.Commit(); } - catch (XpsPackagingException xpsException) + catch (XpsPackagingException) { - throw xpsException; + throw; } }// end:AddDocumentContent() // @@ -240,9 +240,9 @@ private Dictionary> resources.Add("XpsFont", xpsFonts); return resources; } - catch (XpsPackagingException xpsException) + catch (XpsPackagingException) { - throw xpsException; + throw; } }// end:AddPageResources() // @@ -431,7 +431,7 @@ private void WriteObfuscatedStream( // XOR the first 32 bytes of the source // resource stream with GUID byte. byte[] buf = new byte[obfuscatedByte]; - filestream.Read(buf, 0, obfuscatedByte); + filestream.ReadExactly(buf, 0, obfuscatedByte); for (int i = 0; i < obfuscatedByte; i++) { diff --git a/snippets/csharp/System.Printing/Collation/Overview/XpsCreate.csproj b/snippets/csharp/System.Printing/Collation/Overview/XpsCreate.csproj index 025d5a8f6ef..8bceecca84d 100644 --- a/snippets/csharp/System.Printing/Collation/Overview/XpsCreate.csproj +++ b/snippets/csharp/System.Printing/Collation/Overview/XpsCreate.csproj @@ -1,43 +1,18 @@ - + + - Debug - AnyCPU - {68EFFB82-30B5-4136-91C7-84D80D0789D2} Exe - 4 + net10.0-windows + true + true + false + false XpsCreate XpsCreate - v4.8 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - - 10.0.20821 - - - true - full - false - .\ - DEBUG;TRACE - prompt - - - pdbonly - true - .\ - TRACE - prompt + - - - - - - - - - - - \ No newline at end of file + + diff --git a/snippets/csharp/System.Printing/EnumeratedPrintQueueTypes/Overview/EnumerateSubsetOfPrintQueues.csproj b/snippets/csharp/System.Printing/EnumeratedPrintQueueTypes/Overview/EnumerateSubsetOfPrintQueues.csproj index 21fc18f2564..9c144fe3b75 100644 --- a/snippets/csharp/System.Printing/EnumeratedPrintQueueTypes/Overview/EnumerateSubsetOfPrintQueues.csproj +++ b/snippets/csharp/System.Printing/EnumeratedPrintQueueTypes/Overview/EnumerateSubsetOfPrintQueues.csproj @@ -1,40 +1,16 @@ - + + - Debug - AnyCPU - 2.0 Exe + net10.0-windows + true + false SDKSample EnumerateSubsetOfPrintQueues - v4.8 - - 10.0.20821 - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - + - - \ No newline at end of file + + diff --git a/snippets/csharp/System.Printing/LocalPrintServer/.ctor/ClonePrinter.csproj b/snippets/csharp/System.Printing/LocalPrintServer/.ctor/ClonePrinter.csproj index e97980eeaa2..a5db21cddd5 100644 --- a/snippets/csharp/System.Printing/LocalPrintServer/.ctor/ClonePrinter.csproj +++ b/snippets/csharp/System.Printing/LocalPrintServer/.ctor/ClonePrinter.csproj @@ -1,41 +1,16 @@ - + + - Debug - AnyCPU - 2.0 Exe + net10.0-windows + true + false SDKSample ClonePrinter - v4.8 - - 10.0.20821 - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - + - - \ No newline at end of file + + diff --git a/snippets/csharp/System.Printing/LocalPrintServer/GetDefaultPrintQueue/GetPrintObjectPropertiesWithoutReflection.csproj b/snippets/csharp/System.Printing/LocalPrintServer/GetDefaultPrintQueue/GetPrintObjectPropertiesWithoutReflection.csproj index 68825e67577..ab658f0f09f 100644 --- a/snippets/csharp/System.Printing/LocalPrintServer/GetDefaultPrintQueue/GetPrintObjectPropertiesWithoutReflection.csproj +++ b/snippets/csharp/System.Printing/LocalPrintServer/GetDefaultPrintQueue/GetPrintObjectPropertiesWithoutReflection.csproj @@ -1,40 +1,16 @@ - + + - Debug - AnyCPU - 2.0 Exe + net10.0-windows + true + false SDKSample IteratePrintObjectProperites - v4.8 - - 10.0.20821 - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - + - - \ No newline at end of file + + diff --git a/snippets/csharp/System.Printing/PrintJobStatus/Overview/DiagnoseProblematicPrintJob.csproj b/snippets/csharp/System.Printing/PrintJobStatus/Overview/DiagnoseProblematicPrintJob.csproj index 67d5360662a..3597b066c88 100644 --- a/snippets/csharp/System.Printing/PrintJobStatus/Overview/DiagnoseProblematicPrintJob.csproj +++ b/snippets/csharp/System.Printing/PrintJobStatus/Overview/DiagnoseProblematicPrintJob.csproj @@ -1,39 +1,16 @@ - + + - Debug - AnyCPU Exe + net10.0-windows + true + false SDKSample DiagnoseProblematicPrintJob - v4.8 - - 10.0.20821 - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - + - - \ No newline at end of file + + diff --git a/snippets/csharp/System.Printing/PrintQueue/Commit/Management_PrintTicket.csproj b/snippets/csharp/System.Printing/PrintQueue/Commit/Management_PrintTicket.csproj index 73a437cf94f..b652737fd87 100644 --- a/snippets/csharp/System.Printing/PrintQueue/Commit/Management_PrintTicket.csproj +++ b/snippets/csharp/System.Printing/PrintQueue/Commit/Management_PrintTicket.csproj @@ -1,42 +1,16 @@ - + + - Debug - AnyCPU - {BA64FE91-6E41-4C9A-B6B6-21896266F287} Exe + net10.0-windows + true + false PrintTicketSample printticket - x86 - v4.8 - - 10.0.20821 - - true - full - false - bin\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - + - - \ No newline at end of file + + diff --git a/snippets/csharp/System.Printing/PrintQueue/HasPaperProblem/PrinterStatusSurvey.csproj b/snippets/csharp/System.Printing/PrintQueue/HasPaperProblem/PrinterStatusSurvey.csproj index 1436d68cdd3..b187e60e3a2 100644 --- a/snippets/csharp/System.Printing/PrintQueue/HasPaperProblem/PrinterStatusSurvey.csproj +++ b/snippets/csharp/System.Printing/PrintQueue/HasPaperProblem/PrinterStatusSurvey.csproj @@ -1,39 +1,16 @@ - + + - Debug - AnyCPU Exe + net10.0-windows + true + false SDKSample PrinterStatusSurvey - v4.8 - - 10.0.20821 - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - + - - \ No newline at end of file + + diff --git a/snippets/csharp/System.Printing/PrintServer/Overview/PrintServerCreate.csproj b/snippets/csharp/System.Printing/PrintServer/Overview/PrintServerCreate.csproj index 5bf8749eddd..1e81b2ade09 100644 --- a/snippets/csharp/System.Printing/PrintServer/Overview/PrintServerCreate.csproj +++ b/snippets/csharp/System.Printing/PrintServer/Overview/PrintServerCreate.csproj @@ -1,55 +1,16 @@ - + + - Debug - AnyCPU - 2.0 - {68EFFB82-30B5-4136-91C7-84D80D0789D2} Exe - Properties + net10.0-windows + true + false PrintServerCreate PrintServerCreate - v4.8 - - 10.0.20821 - - true - full - false - .\ - - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - .\ - - TRACE - prompt - 4 - - + - - - False - F:\WCP.binaries.x86chk\ReachFramework.dll - - - - - False - F:\WCP.binaries.x86chk\System.Printing.dll - - - - False - F:\WCP.binaries.x86chk\WindowsBase.dll - - - \ No newline at end of file + + diff --git a/snippets/csharp/System.Runtime.CompilerServices/FixedAddressValueTypeAttribute/Overview/fixedaddress.csproj b/snippets/csharp/System.Runtime.CompilerServices/FixedAddressValueTypeAttribute/Overview/fixedaddress.csproj index d44dfb6d29d..0effab2d421 100644 --- a/snippets/csharp/System.Runtime.CompilerServices/FixedAddressValueTypeAttribute/Overview/fixedaddress.csproj +++ b/snippets/csharp/System.Runtime.CompilerServices/FixedAddressValueTypeAttribute/Overview/fixedaddress.csproj @@ -1,62 +1,17 @@ - - + + - Debug - AnyCPU - 9.0.30729 - 2.0 - {752F452A-6301-4638-87F0-8E61651C032E} Exe - Properties + net10.0 + true + false FixedAddressCS FixedAddressCS - v4.8 - 512 - - - - - 3.5 - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - true - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false + - - - 3.5 - - - - - - - + - - - \ No newline at end of file + + + diff --git a/snippets/csharp/System.Runtime.InteropServices/SafeHandle/Overview/safehandle.csproj b/snippets/csharp/System.Runtime.InteropServices/SafeHandle/Overview/safehandle.csproj index 65cc8591318..74a2429159b 100644 --- a/snippets/csharp/System.Runtime.InteropServices/SafeHandle/Overview/safehandle.csproj +++ b/snippets/csharp/System.Runtime.InteropServices/SafeHandle/Overview/safehandle.csproj @@ -1,61 +1,20 @@ - + + - Debug - AnyCPU - 8.0.50727 - 2.0 - {FF6F594E-BE65-473D-A37F-AB48973BFC42} Exe - Properties + net10.0 + false SafeHandle SafeHandle - - - - - 2.0 - v4.8 - + $(NoWarn);SYSLIB0003;SYSLIB0004;SYSLIB0006 - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - true - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - true - false - - - - - - + - - + + - + - - - \ No newline at end of file + + diff --git a/snippets/csharp/System.Security/SecureString/.ctor/securestringctor.csproj b/snippets/csharp/System.Security/SecureString/.ctor/securestringctor.csproj index b4233d07b00..ab50bf72d50 100644 --- a/snippets/csharp/System.Security/SecureString/.ctor/securestringctor.csproj +++ b/snippets/csharp/System.Security/SecureString/.ctor/securestringctor.csproj @@ -1,70 +1,17 @@ - - + + - Debug - AnyCPU - 9.0.30729 - 2.0 - {91A71E6E-384D-46ED-A883-9BACCECC6BD3} Exe - Properties + net10.0 + true + false SecureStringCtor SecureStringCtor - v4.8 - 512 - - - - - 3.5 - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - true - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false + - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - - - + - - - \ No newline at end of file + + + diff --git a/snippets/csharp/System.Text.RegularExpressions/Regex/CompileToAssembly/compiletoassembly1.csproj b/snippets/csharp/System.Text.RegularExpressions/Regex/CompileToAssembly/compiletoassembly1.csproj index dd2ea21cee1..ef536a5075a 100644 --- a/snippets/csharp/System.Text.RegularExpressions/Regex/CompileToAssembly/compiletoassembly1.csproj +++ b/snippets/csharp/System.Text.RegularExpressions/Regex/CompileToAssembly/compiletoassembly1.csproj @@ -1,70 +1,17 @@ - - + + - Debug - AnyCPU - 9.0.30729 - 2.0 - {1957EC0D-7051-4928-B01D-C3B81A9DBC02} Exe - Properties + net10.0 + false CompileToAssembly1 CompileToAssembly1 - v4.8 - 512 RegexCompilationTest - - - - - 3.5 - + $(NoWarn);SYSLIB0036 - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - - - - - 3.5 - - - 3.5 - - - 3.5 - - - - + - - - - - + \ No newline at end of file diff --git a/snippets/csharp/System.Timers/Timer/SynchronizingObject/SynchronizingObjectCS1.csproj b/snippets/csharp/System.Timers/Timer/SynchronizingObject/SynchronizingObjectCS1.csproj index 73f56063022..f0152fe2afb 100644 --- a/snippets/csharp/System.Timers/Timer/SynchronizingObject/SynchronizingObjectCS1.csproj +++ b/snippets/csharp/System.Timers/Timer/SynchronizingObject/SynchronizingObjectCS1.csproj @@ -1,51 +1,15 @@ - - - + + - Debug - AnyCPU - {038DD537-738D-43FA-8F2F-07953C8E0CD6} WinExe - Properties + net10.0-windows + true + false + false SynchronizingObjectCS1 SynchronizingObjectCS1 - v4.8 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - + Form @@ -54,45 +18,6 @@ Form1.cs - - - - - - - - - \ No newline at end of file + + diff --git a/snippets/csharp/System/Console/Overview/setfont1.csproj b/snippets/csharp/System/Console/Overview/setfont1.csproj index 95080bb0ed9..7c2c2a0a29d 100644 --- a/snippets/csharp/System/Console/Overview/setfont1.csproj +++ b/snippets/csharp/System/Console/Overview/setfont1.csproj @@ -1,57 +1,16 @@ - - + + - Debug - x86 - 8.0.30703 - 2.0 - {2A6CBB81-3FC3-4ED9-9C58-7448107FC93B} Exe - Properties + net10.0 + true + false SetFont1 SetFont1 - v4.8 - - 512 - - - x86 - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - true - - x86 - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - + - + - - + diff --git a/snippets/csharp/System/Convert/IsDBNull/Form1.cs b/snippets/csharp/System/Convert/IsDBNull/Form1.cs index 4509e1d9790..04c539969aa 100644 --- a/snippets/csharp/System/Convert/IsDBNull/Form1.cs +++ b/snippets/csharp/System/Convert/IsDBNull/Form1.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.ComponentModel; using System.Data; -using System.Data.SqlClient; +using Microsoft.Data.SqlClient; using System.Drawing; using System.Linq; using System.Text; diff --git a/snippets/csharp/System/Convert/IsDBNull/IsDBNull_To_NA_CS.csproj b/snippets/csharp/System/Convert/IsDBNull/IsDBNull_To_NA_CS.csproj index 8eaaa7d43e5..98875577544 100644 --- a/snippets/csharp/System/Convert/IsDBNull/IsDBNull_To_NA_CS.csproj +++ b/snippets/csharp/System/Convert/IsDBNull/IsDBNull_To_NA_CS.csproj @@ -1,60 +1,15 @@ - - + + - Debug - AnyCPU - 9.0.30729 - 2.0 - {8F2F06DD-9568-426A-8FBE-6D45C8912695} WinExe - Properties + net10.0-windows + true + false + false IsDBNull_To_NA_CS IsDBNull_To_NA_CS - v4.8 - 512 - - - - - 3.5 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - + Form @@ -62,29 +17,24 @@ Form1.cs + + Resources.resx + + + + Form1.cs + Designer ResXFileCodeGenerator Resources.Designer.cs - Designer - - True - Resources.resx - True - + - + - - - \ No newline at end of file + + diff --git a/snippets/csharp/System/Exception/Overview/customexceptioncs.csproj b/snippets/csharp/System/Exception/Overview/customexceptioncs.csproj index a7f3b06ae9a..046c0cf1eaa 100644 --- a/snippets/csharp/System/Exception/Overview/customexceptioncs.csproj +++ b/snippets/csharp/System/Exception/Overview/customexceptioncs.csproj @@ -1,58 +1,18 @@ - - + + - Debug - x86 - 8.0.30703 - 2.0 - {BDB62AB0-B111-482A-B5AD-300D496AD016} Exe - Properties + net10.0 + false CustomExceptionCS CustomExceptionCS - v4.8 - - 512 + $(NoWarn);SYSLIB0024;SYSLIB0051 - - x86 - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - x86 - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - + - - - + + + - - - \ No newline at end of file + + diff --git a/snippets/csharp/System/IObservableT/Overview/locationtrackercs.csproj b/snippets/csharp/System/IObservableT/Overview/locationtrackercs.csproj index d856876a3c3..249c21ed87b 100644 --- a/snippets/csharp/System/IObservableT/Overview/locationtrackercs.csproj +++ b/snippets/csharp/System/IObservableT/Overview/locationtrackercs.csproj @@ -1,58 +1,17 @@ - - + + - Debug - x86 - 8.0.30703 - 2.0 - {32879432-D9F6-44C9-90F5-DE5AD01A573B} Exe - Properties + net10.0 + false LocationTrackerCS LocationTrackerCS - v4.8 - - 512 - - x86 - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - x86 - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - + - - - + + + - - - \ No newline at end of file + + diff --git a/snippets/csharp/System/IntPtr/Overview/example.csproj b/snippets/csharp/System/IntPtr/Overview/example.csproj index f6c4cca7e87..4e5f49435f8 100644 --- a/snippets/csharp/System/IntPtr/Overview/example.csproj +++ b/snippets/csharp/System/IntPtr/Overview/example.csproj @@ -1,48 +1,16 @@ - - + + - Debug - x86 - 8.0.30703 - 2.0 - {855ED19F-5D0D-4B58-B74B-BEB678069018} Exe + net10.0 + true + false Examples Example - v4.8 - - 512 - - - x86 - false - none - false - .\ - 4 - true - - x86 - none - true - .\ - 4 - - - - - - + - + - - - \ No newline at end of file + + diff --git a/snippets/csharp/System/IntPtr/ToPointer/example.csproj b/snippets/csharp/System/IntPtr/ToPointer/example.csproj index f6c4cca7e87..1e5066f2968 100644 --- a/snippets/csharp/System/IntPtr/ToPointer/example.csproj +++ b/snippets/csharp/System/IntPtr/ToPointer/example.csproj @@ -1,48 +1,16 @@ - - + + - Debug - x86 - 8.0.30703 - 2.0 - {855ED19F-5D0D-4B58-B74B-BEB678069018} Exe + net10.0 + true + false Examples Example - v4.8 - - 512 - - - x86 - false - none - false - .\ - 4 - true - - x86 - none - true - .\ - 4 - - - - - - + - - - \ No newline at end of file + + diff --git a/snippets/csharp/System/String/Overview/instantiate1.csproj b/snippets/csharp/System/String/Overview/instantiate1.csproj index 82e20f1646c..1420d1628fc 100644 --- a/snippets/csharp/System/String/Overview/instantiate1.csproj +++ b/snippets/csharp/System/String/Overview/instantiate1.csproj @@ -1,55 +1,17 @@ - - + + - Debug - x86 - 8.0.30703 - 2.0 - {8F1DA585-550B-46EC-A054-8E512965B7B1} Exe - Properties + net10.0 + true + false Instantiation Instantiation - v4.8 - - 512 - - - x86 - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - true - - - x86 - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + - - - - - - - - + - - - \ No newline at end of file + + + diff --git a/snippets/csharp/VS_Snippets_CFX/callbackbehaviorattribute/cs/client.slnx b/snippets/csharp/VS_Snippets_CFX/callbackbehaviorattribute/cs/client.slnx new file mode 100644 index 00000000000..03f56c1194f --- /dev/null +++ b/snippets/csharp/VS_Snippets_CFX/callbackbehaviorattribute/cs/client.slnx @@ -0,0 +1,4 @@ + + + +