Ich bin neu in C# und es ist mein erstes Projekt und möchte den vollständigen Codefluss verstehen. Ich verwende scharfes IDE IDE 4.4, um Projekt zu laufen.C# -Projekt wird erstellt, aber es läuft nicht
Wenn ich es laufen für einen lokalen Host öffnen und die Nachricht appears- Achten Sie darauf, die Adresse richtigen Web haben: http://localhost:52440
Ausgang, wenn ich eine projekt-
Build started.
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1635,5) : Warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Web.Helpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1635,5) : Warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1635,5) : Warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1635,5) : Warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.EnterpriseServices", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1635,5) : Warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Web", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
Build finished successfully. (00:00:00.5339523)
Ändern Sie Ihre Ausgabeplattform in X86 –
Ich habe jetzt beim Erstellen eines Projekts einen Fehler erhalten: Die Eigenschaft "OutputPath" ist für das Projekt "ASPV.csproj" nicht festgelegt. Stellen Sie sicher, dass Sie eine gültige Kombination aus Konfiguration und Plattform für dieses Projekt angegeben haben. Konfiguration = 'Freigabe' Platform = 'X86'. Dieser Fehler kann auch auftreten, wenn ein anderes Projekt versucht, einer Projekt-zu-Projekt-Referenz zu diesem Projekt zu folgen, dieses Projekt wurde entladen oder ist nicht in der Lösung enthalten, und das referenzierende Projekt erstellt nicht mit dem gleichen oder einem Äquivalent Konfiguration oder Plattform. – Raz