+_+
+_+
CC#
Created by +_+ on 7/19/2023 in #help
❔ NetStandard Class Library installed nuget package dlls not going to bin when I reference
why tho?
9 replies
CC#
Created by +_+ on 7/19/2023 in #help
❔ NetStandard Class Library installed nuget package dlls not going to bin when I reference
and its referencing the net standard class library none of the nuget dlls get copied
9 replies
CC#
Created by +_+ on 7/19/2023 in #help
❔ NetStandard Class Library installed nuget package dlls not going to bin when I reference
but if the projects net framework
9 replies
CC#
Created by +_+ on 7/19/2023 in #help
❔ NetStandard Class Library installed nuget package dlls not going to bin when I reference
if i make a net core project it will work
9 replies
CC#
Created by +_+ on 7/19/2023 in #help
❔ NetStandard Class Library installed nuget package dlls not going to bin when I reference
okay so ive been messing aorund
9 replies
CC#
Created by +_+ on 7/19/2023 in #help
❔ NetStandard Class Library installed nuget package dlls not going to bin when I reference
discords msg length was too long ^ so i had to reply with it but thats a example of my csproj
9 replies
CC#
Created by +_+ on 7/19/2023 in #help
❔ NetStandard Class Library installed nuget package dlls not going to bin when I reference
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>LibraryA</AssemblyName>
<ApplicationVersion>1.0.0.0</ApplicationVersion>
<RootNamespace>LibraryA</RootNamespace>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<OutputPath>bin\Debug\</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>TRACE</DefineConstants>
<OutputPath>bin\Release\</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="prometheus-net" Version="3.1.4" />
</ItemGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>LibraryA</AssemblyName>
<ApplicationVersion>1.0.0.0</ApplicationVersion>
<RootNamespace>LibraryA</RootNamespace>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<OutputPath>bin\Debug\</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>TRACE</DefineConstants>
<OutputPath>bin\Release\</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="prometheus-net" Version="3.1.4" />
</ItemGroup>

</Project>
9 replies
CC#
Created by +_+ on 5/27/2023 in #help
I keep getting "PlatformNotSupportedException" when using ConfigurationManager.GetSection on Windows
Okay I fixed it, I had to reference System.Configuration.ConfigurationManager in my project referencing my configuration library because some reason it wasnt
10 replies
CC#
Created by +_+ on 5/27/2023 in #help
I keep getting "PlatformNotSupportedException" when using ConfigurationManager.GetSection on Windows
I think it might be the version of System.Configuration.ConfigurationManager I'm upgrading to 4.6.2 ill let you know if it fixes it
10 replies
CC#
Created by +_+ on 5/27/2023 in #help
I keep getting "PlatformNotSupportedException" when using ConfigurationManager.GetSection on Windows
10 replies
CC#
Created by +_+ on 5/27/2023 in #help
I keep getting "PlatformNotSupportedException" when using ConfigurationManager.GetSection on Windows
StackTrace:
at System.Configuration.ClientConfigPaths..ctor(String exePath, Boolean includeUserConfig)
at System.Configuration.ClientConfigPaths.GetPaths(String exePath, Boolean includeUserConfig)
at System.Configuration.ClientConfigurationHost.get_ConfigPaths()
at System.Configuration.ClientConfigurationHost.GetStreamName(String configPath)
at System.Configuration.ClientConfigurationHost.get_IsAppConfigHttp()
at System.Configuration.ClientConfigurationSystem..ctor()
at System.Configuration.ConfigurationManager.EnsureConfigurationSystem()
at System.Configuration.ClientConfigPaths..ctor(String exePath, Boolean includeUserConfig)
at System.Configuration.ClientConfigPaths.GetPaths(String exePath, Boolean includeUserConfig)
at System.Configuration.ClientConfigurationHost.get_ConfigPaths()
at System.Configuration.ClientConfigurationHost.GetStreamName(String configPath)
at System.Configuration.ClientConfigurationHost.get_IsAppConfigHttp()
at System.Configuration.ClientConfigurationSystem..ctor()
at System.Configuration.ConfigurationManager.EnsureConfigurationSystem()
Source: System.Configuration.ConfigurationManager
10 replies
CC#
Created by +_+ on 5/26/2023 in #help
Weird issue I can't seem to figure out "Strong name signature could not be verified."
I'll close this now
12 replies
CC#
Created by +_+ on 5/26/2023 in #help
Weird issue I can't seem to figure out "Strong name signature could not be verified."
yeah I think this is what happened I got another copy of the dll which was a few days older but same version and it managed to work fine
12 replies
CC#
Created by +_+ on 5/26/2023 in #help
Weird issue I can't seem to figure out "Strong name signature could not be verified."
12 replies
CC#
Created by +_+ on 5/26/2023 in #help
Weird issue I can't seem to figure out "Strong name signature could not be verified."
12 replies
CC#
Created by +_+ on 5/26/2023 in #help
Weird issue I can't seem to figure out "Strong name signature could not be verified."
Unfortunately it isn't but I can provide as much information as possible just ask whatever you need to know
12 replies