kingkicker8
Grünschnabel
Hallo!
Ein Erfolg Nurnoch in einer Datei Fehler!
Die Datei habe ich komplett aus einer Public Source genommen, aber leider scheint sie nicht richtig zu funktionieren... (die oublic source kann ich fehlerfrei kompilieren...)
Fehlermeldung: (Visual C++)
1>------ Build started: Project: Snapcom, Configuration: Debug Win32 ------
1>Compiling...
1>stdafx.cpp
1>AssemblyInfo.cpp
1>.\AssemblyInfo.cpp(3) : error C2653: 'System' : is not a class or namespace name
1>.\AssemblyInfo.cpp(3) : error C2871: 'Reflection' : a namespace with this name does not exist
1>.\AssemblyInfo.cpp(4) : error C2653: 'System' : is not a class or namespace name
1>.\AssemblyInfo.cpp(4) : error C2871: 'CompilerServices' : a namespace with this name does not exist
1>.\AssemblyInfo.cpp(11) : error C2337: 'AssemblyTitleAttribute' : attribute not found
1>.\AssemblyInfo.cpp(12) : error C2337: 'AssemblyDescriptionAttribute' : attribute not found
1>.\AssemblyInfo.cpp(13) : error C2337: 'AssemblyConfigurationAttribute' : attribute not found
1>.\AssemblyInfo.cpp(14) : error C2337: 'AssemblyCompanyAttribute' : attribute not found
1>.\AssemblyInfo.cpp(15) : error C2337: 'AssemblyProductAttribute' : attribute not found
1>.\AssemblyInfo.cpp(16) : error C2337: 'AssemblyCopyrightAttribute' : attribute not found
1>.\AssemblyInfo.cpp(17) : error C2337: 'AssemblyTrademarkAttribute' : attribute not found
1>.\AssemblyInfo.cpp(18) : error C2337: 'AssemblyCultureAttribute' : attribute not found
1>.\AssemblyInfo.cpp(31) : error C2337: 'AssemblyVersionAttribute' : attribute not found
1>.\AssemblyInfo.cpp(55) : error C2337: 'AssemblyDelaySignAttribute' : attribute not found
1>.\AssemblyInfo.cpp(56) : error C2337: 'AssemblyKeyFileAttribute' : attribute not found
1>.\AssemblyInfo.cpp(57) : error C2337: 'AssemblyKeyNameAttribute' : attribute not found
1>Generating Code...
1>Build log was saved at "file://c:\Dokumente und Einstellungen\Kevin\Desktop\Warrock++\Snapcom\Snapcom\Snapcom\Debug\BuildLog.htm"
1>Snapcom - 16 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Die Datei AssemblyInfo.cpp:
Wenn diese Datei richtig ist, wo muss ich sie dann einfügen? Da im Public (und Tutorial) ist diese Datei nirgendwo *#included'.
Ich bin dankbar für jede Hilfe! (Ich hoffe, dass ich alle benötigten Informationen gepostet habe!)
Ein Erfolg Nurnoch in einer Datei Fehler!
Die Datei habe ich komplett aus einer Public Source genommen, aber leider scheint sie nicht richtig zu funktionieren... (die oublic source kann ich fehlerfrei kompilieren...)
Fehlermeldung: (Visual C++)
1>------ Build started: Project: Snapcom, Configuration: Debug Win32 ------
1>Compiling...
1>stdafx.cpp
1>AssemblyInfo.cpp
1>.\AssemblyInfo.cpp(3) : error C2653: 'System' : is not a class or namespace name
1>.\AssemblyInfo.cpp(3) : error C2871: 'Reflection' : a namespace with this name does not exist
1>.\AssemblyInfo.cpp(4) : error C2653: 'System' : is not a class or namespace name
1>.\AssemblyInfo.cpp(4) : error C2871: 'CompilerServices' : a namespace with this name does not exist
1>.\AssemblyInfo.cpp(11) : error C2337: 'AssemblyTitleAttribute' : attribute not found
1>.\AssemblyInfo.cpp(12) : error C2337: 'AssemblyDescriptionAttribute' : attribute not found
1>.\AssemblyInfo.cpp(13) : error C2337: 'AssemblyConfigurationAttribute' : attribute not found
1>.\AssemblyInfo.cpp(14) : error C2337: 'AssemblyCompanyAttribute' : attribute not found
1>.\AssemblyInfo.cpp(15) : error C2337: 'AssemblyProductAttribute' : attribute not found
1>.\AssemblyInfo.cpp(16) : error C2337: 'AssemblyCopyrightAttribute' : attribute not found
1>.\AssemblyInfo.cpp(17) : error C2337: 'AssemblyTrademarkAttribute' : attribute not found
1>.\AssemblyInfo.cpp(18) : error C2337: 'AssemblyCultureAttribute' : attribute not found
1>.\AssemblyInfo.cpp(31) : error C2337: 'AssemblyVersionAttribute' : attribute not found
1>.\AssemblyInfo.cpp(55) : error C2337: 'AssemblyDelaySignAttribute' : attribute not found
1>.\AssemblyInfo.cpp(56) : error C2337: 'AssemblyKeyFileAttribute' : attribute not found
1>.\AssemblyInfo.cpp(57) : error C2337: 'AssemblyKeyNameAttribute' : attribute not found
1>Generating Code...
1>Build log was saved at "file://c:\Dokumente und Einstellungen\Kevin\Desktop\Warrock++\Snapcom\Snapcom\Snapcom\Debug\BuildLog.htm"
1>Snapcom - 16 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Die Datei AssemblyInfo.cpp:
Code:
#include "stdafx.h"
using namespace System::Reflection;
using namespace System::Runtime::CompilerServices;
//
// 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:AssemblyTitleAttribute("")];
[assembly:AssemblyDescriptionAttribute("")];
[assembly:AssemblyConfigurationAttribute("")];
[assembly:AssemblyCompanyAttribute("")];
[assembly:AssemblyProductAttribute("")];
[assembly:AssemblyCopyrightAttribute("")];
[assembly:AssemblyTrademarkAttribute("")];
[assembly:AssemblyCultureAttribute("")];
//
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the value or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly:AssemblyVersionAttribute("1.0.*")];
//
// In order to sign your assembly you must specify a key to use. Refer to the
// Microsoft .NET Framework documentation for more information on assembly signing.
//
// Use the attributes below to control which key is used for signing.
//
// Notes:
// (*) If no key is specified, the assembly is not signed.
// (*) KeyName refers to a key that has been installed in the Crypto Service
// Provider (CSP) on your machine. KeyFile refers to a file which contains
// a key.
// (*) If the KeyFile and the KeyName values are both specified, the
// following processing occurs:
// (1) If the KeyName can be found in the CSP, that key is used.
// (2) If the KeyName does not exist and the KeyFile does exist, the key
// in the KeyFile is installed into the CSP and used.
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
// When specifying the KeyFile, the location of the KeyFile should be
// relative to the project directory.
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
// documentation for more information on this.
//
[assembly:AssemblyDelaySignAttribute(false)];
[assembly:AssemblyKeyFileAttribute("")];
[assembly:AssemblyKeyNameAttribute("")];
Wenn diese Datei richtig ist, wo muss ich sie dann einfügen? Da im Public (und Tutorial) ist diese Datei nirgendwo *#included'.
Ich bin dankbar für jede Hilfe! (Ich hoffe, dass ich alle benötigten Informationen gepostet habe!)