ComponentSpace

Forums



Build is Failing for Example Project


Build is Failing for Example Project

Author
Message
bsteven25
bsteven25
New Member
New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)

Group: Forum Members
Posts: 1, Visits: 9
I am currently on Windows 10 running with .NET v4.8 and am getting the following error when trying to build the project so I can run the examples for Identity Provider and Service Provider.

Error Message:

The primary reference "ComponentSpace.SAML2, Version=5.0.0.0, Culture=neutral,PublicKeyToken=16647a1283418145, processorArchitecture=MSIL" could not be resolved because it was built against the".NETFramework,Version=v4.8" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1".

Full Error List:

Severity Code Description Project File Line Suppression State
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) GenerateSignature C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Signature\GenerateSignature\Program.cs 6 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) GenerateSignature C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Signature\GenerateSignature\Program.cs 7 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) GenerateSignature C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Signature\GenerateSignature\Program.cs 8 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) GenerateSignature C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Signature\GenerateSignature\Program.cs 9 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) GenerateSignature C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Signature\GenerateSignature\Program.cs 10 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) MvcExampleIdentityProvider C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\SSO\MVC\MvcExampleIdentityProvider\Controllers\AccountController.cs 1 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) MvcExampleIdentityProvider C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\SSO\MVC\MvcExampleIdentityProvider\Controllers\HomeController.cs 1 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) MvcExampleIdentityProvider C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\SSO\MVC\MvcExampleIdentityProvider\Controllers\SamlController.cs 1 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) MvcExampleIdentityProvider C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\SSO\MVC\MvcExampleIdentityProvider\Global.asax.cs 9 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) MvcExampleServiceProvider C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\SSO\MVC\MvcExampleServiceProvider\Controllers\AccountController.cs 1 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) MvcExampleServiceProvider C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\SSO\MVC\MvcExampleServiceProvider\Controllers\HomeController.cs 6 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) MvcExampleServiceProvider C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\SSO\MVC\MvcExampleServiceProvider\Controllers\SamlController.cs 1 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) MvcExampleServiceProvider C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\SSO\MVC\MvcExampleServiceProvider\Global.asax.cs 9 Active
Error CS0234 The type or namespace name 'Data' does not exist in the namespace 'ComponentSpace.SAML2' (are you missing an assembly reference?) Redis C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Utility\Redis\RedisIDCache.cs 1 Active
Error CS0246 The type or namespace name 'StackExchange' could not be found (are you missing a using directive or an assembly reference?) Redis C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Utility\Redis\RedisIDCache.cs 2 Active
Error CS0246 The type or namespace name 'IIDCache' could not be found (are you missing a using directive or an assembly reference?) Redis C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Utility\Redis\RedisIDCache.cs 12 Active
Error CS0246 The type or namespace name 'ConnectionMultiplexer' could not be found (are you missing a using directive or an assembly reference?) Redis C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Utility\Redis\RedisIDCache.cs 15 Active
Error CS0234 The type or namespace name 'Data' does not exist in the namespace 'ComponentSpace.SAML2' (are you missing an assembly reference?) Redis C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Utility\Redis\RedisSSOSessionStore.cs 1 Active
Error CS0246 The type or namespace name 'StackExchange' could not be found (are you missing a using directive or an assembly reference?) Redis C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Utility\Redis\RedisSSOSessionStore.cs 2 Active
Error CS0246 The type or namespace name 'AbstractSSOSessionStore' could not be found (are you missing a using directive or an assembly reference?) Redis C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Utility\Redis\RedisSSOSessionStore.cs 12 Active
Error CS0246 The type or namespace name 'ConnectionMultiplexer' could not be found (are you missing a using directive or an assembly reference?) Redis C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Utility\Redis\RedisSSOSessionStore.cs 15 Active
Error CS0115 'RedisSSOSessionStore.Load(Type)': no suitable method found to override Redis C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Utility\Redis\RedisSSOSessionStore.cs 22 Active
Error CS0115 'RedisSSOSessionStore.Save(object)': no suitable method found to override Redis C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Utility\Redis\RedisSSOSessionStore.cs 40 Active
Error CS0115 'RedisSSOSessionStore.Delete(Type)': no suitable method found to override Redis C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Utility\Redis\RedisSSOSessionStore.cs 53 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) SamlProxy C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\SSO\MVC\SamlProxy\Controllers\HomeController.cs 1 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) SamlProxy C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\SSO\MVC\SamlProxy\Controllers\IdentityProviderController.cs 1 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) SamlProxy C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\SSO\MVC\SamlProxy\Controllers\ServiceProviderController.cs 1 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) SamlProxy C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\SSO\MVC\SamlProxy\Controllers\ServiceProviderController.cs 2 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) VerifySignature C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Signature\VerifySignature\Program.cs 6 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) VerifySignature C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Signature\VerifySignature\Program.cs 7 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) VerifySignature C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Signature\VerifySignature\Program.cs 8 Active
Error CS0246 The type or namespace name 'ComponentSpace' could not be found (are you missing a using directive or an assembly reference?) VerifySignature C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\Signature\VerifySignature\Program.cs 9 Active
Warning

The referenced component 'ComponentSpace.SAML2' could not be found.
GenerateSignature



Warning


The primary reference "ComponentSpace.SAML2, Version=5.0.0.0, Culture=neutral, PublicKeyToken=16647a1283418145, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.8" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1".
GenerateSignature



Warning


The primary reference "ComponentSpace.SAML2, Version=5.0.0.0, Culture=neutral, PublicKeyToken=16647a1283418145, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.6.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1".
MvcExampleIdentityProvider



Warning


The primary reference "ComponentSpace.SAML2, Version=5.0.0.0, Culture=neutral, PublicKeyToken=16647a1283418145, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.6.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1".
MvcExampleServiceProvider



Warning


The referenced component 'System.Runtime.CompilerServices.Unsafe' could not be found.
Redis



Warning


The referenced component 'ComponentSpace.SAML2' could not be found.
Redis



Warning


The primary reference "StackExchange.Redis, Version=2.0.0.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.7.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1".
Redis



Warning


The primary reference "StackExchange.Redis, Version=2.0.0.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the assembly "Pipelines.Sockets.Unofficial, Version=1.0.0.0, Culture=neutral, PublicKeyToken=42ea0a778e13fbe2" which was built against the ".NETFramework,Version=v4.7.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1".
Redis



Warning


The primary reference "Pipelines.Sockets.Unofficial, Version=1.0.0.0, Culture=neutral, PublicKeyToken=42ea0a778e13fbe2, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.7.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1".
Redis



Warning


The referenced component 'StackExchange.Redis' could not be found.
Redis



Warning


The primary reference "ComponentSpace.SAML2, Version=5.0.0.0, Culture=neutral, PublicKeyToken=16647a1283418145, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.8" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1".
Redis



Warning


The referenced component 'System.IO.Pipelines' could not be found.
Redis



Warning


The referenced component 'System.Threading.Tasks.Extensions' could not be found.
Redis



Warning


The referenced component 'System.IO.Compression' could not be found.
Redis



Warning


The referenced component 'System.Threading.Channels' could not be found.
Redis



Warning


The referenced component 'Pipelines.Sockets.Unofficial' could not be found.
Redis



Warning


The referenced component 'System.Diagnostics.PerformanceCounter' could not be found.
Redis



Warning


The primary reference "ComponentSpace.SAML2, Version=5.0.0.0, Culture=neutral, PublicKeyToken=16647a1283418145, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.6.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1".
SamlProxy



Warning


The referenced component 'ComponentSpace.SAML2' could not be found.
VerifySignature



Warning


The primary reference "ComponentSpace.SAML2, Version=5.0.0.0, Culture=neutral, PublicKeyToken=16647a1283418145, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.8" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1".
VerifySignature




Full Output Messages:
Rebuild started...
1>------ RebuildAll started: Project: ParseHttpRedirectUrl, Configuration: Debug Any CPU ------
2>------ RebuildAll started: Project: MetadataExample, Configuration: Debug Any CPU ------
3>------ RebuildAll started: Project: ReadMetadata, Configuration: Debug Any CPU ------
4>------ RebuildAll started: Project: ImportMetadata, Configuration: Debug Any CPU ------
5>------ RebuildAll started: Project: ExportMetadata, Configuration: Debug Any CPU ------
6>------ RebuildAll started: Project: ValidateSAMLMessage, Configuration: Debug Any CPU ------
7>------ RebuildAll started: Project: ValidateAgainstSchema, Configuration: Debug Any CPU------
8>------ RebuildAll started: Project: CreateMetadata, Configuration: Debug Any CPU ------
9>------ RebuildAll started: Project: CreateConfiguration, Configuration: Debug Any CPU ------
10>------ RebuildAll started: Project: ValidateConfig, Configuration: Debug Any CPU ------
11>------ RebuildAll started: Project: GenerateSignature, Configuration: Debug Any CPU ------
12>------ RebuildAll started: Project: TestSHA256Signature, Configuration: Debug x86 ------
1>  ParseHttpRedirectUrl ->C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\Utility\ParseHttpRedirectUrl\bin\Debug\ParseHttpRedirectUrl.exe
5>  ExportMetadata ->C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\Metadata\ExportMetadata\bin\Debug\ExportMetadata.exe
4>  ImportMetadata ->C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\Metadata\ImportMetadata\bin\Debug\ImportMetadata.exe
13>------ RebuildAll started: Project: VerifySignature, Configuration: Debug Any CPU ------
14>------ RebuildAll started: Project: MvcExampleIdentityProvider, Configuration: Debug Any CPU------
3>  ReadMetadata ->C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\Metadata\ReadMetadata\bin\Debug\ReadMetadata.exe
15>------ RebuildAll started: Project: MvcExampleServiceProvider, Configuration: Debug Any CPU------
2>  MetadataExample ->C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\Metadata\MetadataExample\bin\Debug\MetadataExample.exe
16>------ RebuildAll started: Project: ExampleIdentityProvider, Configuration: Debug Any CPU------
10>  ValidateConfig ->C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\Configuration\ValidateConfig\bin\Debug\ValidateConfig.exe
17>------ RebuildAll started: Project: ExampleServiceProvider, Configuration: Debug Any CPU------
12>  TestSHA256Signature ->C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\Signature\TestSHA256Signature\bin\Debug\TestSHA256Signature.exe
18>------ RebuildAll started: Project: CreateSelfSignedCert, Configuration: Debug Any CPU ------
11>C:\ProgramFiles (x86)\Microsoft VisualStudio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2202,5):warning MSB3274: The primary reference "ComponentSpace.SAML2,Version=5.0.0.0, Culture=neutral, PublicKeyToken=16647a1283418145,processorArchitecture=MSIL" could not be resolved because it was builtagainst the ".NETFramework,Version=v4.8" framework. This is a higherversion than the currently targeted framework".NETFramework,Version=v4.6.1".
11>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Signature\GenerateSignature\Program.cs(6,7,6,21): errorCS0246: The type or namespace name 'ComponentSpace' could not be found (are youmissing a using directive or an assembly reference?)
11>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Signature\GenerateSignature\Program.cs(7,7,7,21): errorCS0246: The type or namespace name 'ComponentSpace' could not be found (are youmissing a using directive or an assembly reference?)
11>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Signature\GenerateSignature\Program.cs(8,7,8,21): errorCS0246: The type or namespace name 'ComponentSpace' could not be found (are youmissing a using directive or an assembly reference?)
11>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Signature\GenerateSignature\Program.cs(9,7,9,21): errorCS0246: The type or namespace name 'ComponentSpace' could not be found (are youmissing a using directive or an assembly reference?)
11>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Signature\GenerateSignature\Program.cs(10,7,10,21): errorCS0246: The type or namespace name 'ComponentSpace' could not be found (are youmissing a using directive or an assembly reference?)
19>------ RebuildAll started: Project: DecryptAssertion, Configuration: Debug Any CPU ------
13>C:\ProgramFiles (x86)\Microsoft VisualStudio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2202,5):warning MSB3274: The primary reference "ComponentSpace.SAML2,Version=5.0.0.0, Culture=neutral, PublicKeyToken=16647a1283418145,processorArchitecture=MSIL" could not be resolved because it was builtagainst the ".NETFramework,Version=v4.8" framework. This is a higherversion than the currently targeted framework".NETFramework,Version=v4.6.1".
13>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Signature\VerifySignature\Program.cs(6,7,6,21): error CS0246:The type or namespace name 'ComponentSpace' could not be found (are you missinga using directive or an assembly reference?)
13>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Signature\VerifySignature\Program.cs(7,7,7,21): error CS0246:The type or namespace name 'ComponentSpace' could not be found (are you missinga using directive or an assembly reference?)
13>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Signature\VerifySignature\Program.cs(8,7,8,21): error CS0246:The type or namespace name 'ComponentSpace' could not be found (are you missinga using directive or an assembly reference?)
13>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Signature\VerifySignature\Program.cs(9,7,9,21): error CS0246:The type or namespace name 'ComponentSpace' could not be found (are you missinga using directive or an assembly reference?)
20>------ RebuildAll started: Project: EncryptAssertion, Configuration: Debug Any CPU ------
16>  ExampleIdentityProvider ->C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\SSO\WebForms\ExampleIdentityProvider\bin\ExampleIdentityProvider.dll21>------ RebuildAll started: Project: Redis, Configuration: Debug Any CPU ------
17>  ExampleServiceProvider ->C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\SSO\WebForms\ExampleServiceProvider\bin\ExampleServiceProvider.dll22>------ RebuildAll started: Project: SamlProxy, Configuration: Debug Any CPU ------
18>  CreateSelfSignedCert ->C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\Certificate\CreateSelfSignedCert\bin\Debug\CreateSelfSignedCert.exe
14>C:\ProgramFiles (x86)\Microsoft VisualStudio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2202,5):warning MSB3274: The primary reference "ComponentSpace.SAML2,Version=5.0.0.0, Culture=neutral, PublicKeyToken=16647a1283418145,processorArchitecture=MSIL" could not be resolved because it was builtagainst the ".NETFramework,Version=v4.6.2" framework. This is ahigher version than the currently targeted framework".NETFramework,Version=v4.6.1".
19>  DecryptAssertion ->C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\Encryption\DecryptAssertion\bin\Debug\DecryptAssertion.exe
6>  ValidateSAMLMessage ->C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\Utility\ValidateSAMLMessage\bin\Debug\ValidateSAMLMessage.exe
20>  EncryptAssertion ->C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\Encryption\EncryptAssertion\bin\Debug\EncryptAssertion.exe
7>  ValidateAgainstSchema ->C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\Utility\ValidateAgainstSchema\bin\Debug\ValidateAgainstSchema.exe
22>C:\ProgramFiles (x86)\Microsoft VisualStudio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2202,5):warning MSB3274: The primary reference "ComponentSpace.SAML2,Version=5.0.0.0, Culture=neutral, PublicKeyToken=16647a1283418145,processorArchitecture=MSIL" could not be resolved because it was builtagainst the ".NETFramework,Version=v4.6.2" framework. This is ahigher version than the currently targeted framework".NETFramework,Version=v4.6.1".
21>C:\ProgramFiles (x86)\Microsoft VisualStudio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2202,5):warning MSB3274: The primary reference "ComponentSpace.SAML2,Version=5.0.0.0, Culture=neutral, PublicKeyToken=16647a1283418145,processorArchitecture=MSIL" could not be resolved because it was builtagainst the ".NETFramework,Version=v4.8" framework. This is a higherversion than the currently targeted framework".NETFramework,Version=v4.6.1".
21>C:\ProgramFiles (x86)\Microsoft VisualStudio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2202,5):warning MSB3274: The primary reference "Pipelines.Sockets.Unofficial,Version=1.0.0.0, Culture=neutral, PublicKeyToken=42ea0a778e13fbe2,processorArchitecture=MSIL" could not be resolved because it was builtagainst the ".NETFramework,Version=v4.7.2" framework. This is ahigher version than the currently targeted framework ".NETFramework,Version=v4.6.1".
21>C:\ProgramFiles (x86)\Microsoft VisualStudio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2202,5):warning MSB3275: The primary reference "StackExchange.Redis,Version=2.0.0.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46,processorArchitecture=MSIL" could not be resolved because it has anindirect dependency on the assembly "Pipelines.Sockets.Unofficial,Version=1.0.0.0, Culture=neutral, PublicKeyToken=42ea0a778e13fbe2" whichwas built against the ".NETFramework,Version=v4.7.2" framework. Thisis a higher version than the currently targeted framework".NETFramework,Version=v4.6.1".
21>C:\ProgramFiles (x86)\Microsoft VisualStudio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2202,5):warning MSB3274: The primary reference "StackExchange.Redis,Version=2.0.0.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46,processorArchitecture=MSIL" could not be resolved because it was builtagainst the ".NETFramework,Version=v4.7.2" framework. This is ahigher version than the currently targeted framework".NETFramework,Version=v4.6.1".
22>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\SSO\MVC\SamlProxy\Controllers\HomeController.cs(1,7,1,21):error CS0246: The type or namespace name 'ComponentSpace' could not be found(are you missing a using directive or an assembly reference?)22>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor.NET\Examples\SSO\MVC\SamlProxy\Controllers\IdentityProviderController.cs(1,7,1,21):error CS0246: The type or namespace name 'ComponentSpace' could not be found(are you missing a using directive or an assembly reference?)22>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor.NET\Examples\SSO\MVC\SamlProxy\Controllers\ServiceProviderController.cs(1,7,1,21):error CS0246: The type or namespace name 'ComponentSpace' could not be found(are you missing a using directive or an assembly reference?)22>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor.NET\Examples\SSO\MVC\SamlProxy\Controllers\ServiceProviderController.cs(2,7,2,21):error CS0246: The type or namespace name 'ComponentSpace' could not be found(are you missing a using directive or an assembly reference?)21>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Utility\Redis\RedisIDCache.cs(1,28,1,32): error CS0234: Thetype or namespace name 'Data' does not exist in the namespace'ComponentSpace.SAML2' (are you missing an assembly reference?)21>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Utility\Redis\RedisIDCache.cs(2,7,2,20): error CS0246: Thetype or namespace name 'StackExchange' could not be found (are you missing ausing directive or an assembly reference?)
21>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Utility\Redis\RedisSSOSessionStore.cs(1,28,1,32): errorCS0234: The type or namespace name 'Data' does not exist in the namespace'ComponentSpace.SAML2' (are you missing an assembly reference?)
21>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Utility\Redis\RedisSSOSessionStore.cs(2,7,2,20): errorCS0246: The type or namespace name 'StackExchange' could not be found (are youmissing a using directive or an assembly reference?)21>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Utility\Redis\RedisIDCache.cs(12,33,12,41): error CS0246: Thetype or namespace name 'IIDCache' could not be found (are you missing a usingdirective or an assembly reference?)
21>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Utility\Redis\RedisSSOSessionStore.cs(12,41,12,64): errorCS0246: The type or namespace name 'AbstractSSOSessionStore' could not be found(are you missing a using directive or an assembly reference?)
21>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Utility\Redis\RedisIDCache.cs(15,24,15,45): error CS0246: Thetype or namespace name 'ConnectionMultiplexer' could not be found (are youmissing a using directive or an assembly reference?)21>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Utility\Redis\RedisSSOSessionStore.cs(22,32,22,36): errorCS0115: 'RedisSSOSessionStore.Load(Type)': no suitable method found to override
21>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Utility\Redis\RedisSSOSessionStore.cs(40,30,40,34): errorCS0115: 'RedisSSOSessionStore.Save(object)': no suitable method found tooverride21>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Utility\Redis\RedisSSOSessionStore.cs(53,30,53,36): errorCS0115: 'RedisSSOSessionStore.Delete(Type)': no suitable method found tooverride
21>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor .NET\Examples\Utility\Redis\RedisSSOSessionStore.cs(15,33,15,54): errorCS0246: The type or namespace name 'ConnectionMultiplexer' could not be found(are you missing a using directive or an assembly reference?)
8>  CreateMetadata ->C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\Metadata\CreateMetadata\bin\Debug\CreateMetadata.exe9>  CreateConfiguration ->C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\Configuration\CreateConfiguration\bin\Debug\CreateConfiguration.exe15>C:\ProgramFiles (x86)\Microsoft VisualStudio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2202,5):warning MSB3274: The primary reference "ComponentSpace.SAML2,Version=5.0.0.0, Culture=neutral, PublicKeyToken=16647a1283418145,processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.6.2" framework. This is a higher version than the currently targeted framework".NETFramework,Version=v4.6.1".
14>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor.NET\Examples\SSO\MVC\MvcExampleIdentityProvider\Controllers\AccountController.cs(1,7,1,21):error CS0246: The type or namespace name 'ComponentSpace' could not be found(are you missing a using directive or an assembly reference?)
14>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor.NET\Examples\SSO\MVC\MvcExampleIdentityProvider\Controllers\HomeController.cs(1,7,1,21):error CS0246: The type or namespace name 'ComponentSpace' could not be found(are you missing a using directive or an assembly reference?)
14>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\SSO\MVC\MvcExampleIdentityProvider\Controllers\SamlController.cs(1,7,1,21):error CS0246: The type or namespace name 'ComponentSpace' could not be found(are you missing a using directive or an assembly reference?)
14>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\SSO\MVC\MvcExampleIdentityProvider\Global.asax.cs(9,7,9,21):error CS0246: The type or namespace name 'ComponentSpace' could not be found(are you missing a using directive or an assembly reference?)
15>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAMLfor.NET\Examples\SSO\MVC\MvcExampleServiceProvider\Controllers\AccountController.cs(1,7,1,21):error CS0246: The type or namespace name 'ComponentSpace' could not be found(are you missing a using directive or an assembly reference?)
15>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\SSO\MVC\MvcExampleServiceProvider\Controllers\HomeController.cs(6,7,6,21):error CS0246: The type or namespace name 'ComponentSpace' could not be found(are you missing a using directive or an assembly reference?)
15>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for.NET\Examples\SSO\MVC\MvcExampleServiceProvider\Controllers\SamlController.cs(1,7,1,21):error CS0246: The type or namespace name 'ComponentSpace' could not be found(are you missing a using directive or an assembly reference?)
15>C:\Users\TestAutomation\Downloads\SAMLv20-evaluation\SAML for .NET\Examples\SSO\MVC\MvcExampleServiceProvider\Global.asax.cs(9,7,9,21):error CS0246: The type or namespace name 'ComponentSpace' could not be found(are you missing a using directive or an assembly reference?)========== RebuildAll: 16 succeeded, 6 failed, 0 skipped ==========


ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)

Group: Administrators
Posts: 3K, Visits: 10K
The CS0246 error indicates that the ComponentSpace.SAML2 NuGet package is missing.

Please refer to the Installation Guide in the documentation folder. You need to configure a package source for this package. This can be done through the Visual Studio Package Manager.

I'm not sure why you're seeing the warnings about the .NET framework versions. The ComponentSpace.SAML2 package supports .NET framework v4.0 and above. The example projects target different .NET framework versions. For example, GenerateSignature targets .NET 4.8 and MVCExampleIdentityProvider targets .NET 4.6.2. I'm not sure why .NET 4.6.1 is being referred to in the warnings.

Please ensure you have .NET 4.8 installed on your system.



Regards
ComponentSpace Development
GO


Similar Topics


Execution: 0.000. 2 queries. Compression Enabled.
Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....












Forums, Documentation & Knowledge Base - ComponentSpace


Search