Can't build the project
- Langage dominant
- C#
- Étoiles
- 1.9k
- Forks
- 317
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Hi,
I've been trying to build the solution and it always fails with the errors listed below. Now, I know these are because the SharpSploit project is failing to load and these errors are from the Test project but there's nothing I've been able to do to manage the import.
```
1>------ Build started: Project: SharpSploit.Tests, Configuration: Debug Any CPU ------
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2110,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "SharpSploit". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
1>D:\SharpSploit\SharpSploit.Tests\SharpSploit.Tests\Credentials\TokensTests.cs(11,19,11,30): error CS0234: The type or namespace name 'Credentials' does not exist in the namespace 'SharpSploit' (are you missing an assembly reference?)
1>D:\SharpSploit\SharpSploit.Tests\SharpSploit.Tests\Enumeration\DomainTests.cs(10,19,10,30): error CS0234: The type or namespace name 'Enumeration' does not exist in the namespace 'SharpSploit' (are you missing an assembly reference?)
1>D:\SharpSploit\SharpSploit.Tests\SharpSploit.Tests\Enumeration\HostTests.cs(10,19,10,30): error CS0234: The type or namespace name 'Enumeration' does not exist in the namespace 'SharpSploit' (are you missing an assembly reference?)
........... {more such errors but useless}
```
Here's the error I get upon reloading the project:
`SharpSploit\SharpSploit.csproj : error : Project file is incomplete. Expected imports are missing.`
I'm working with Visual Studio 2017 and .NET 4.5 (which I believe someone said the project is built using). Can someone nudge me in the right way?
PS: You can also view the Solution Explorer view in the image.

Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par inspecter SharpSploit\SharpSploit.csproj et les références de projet de la solution, puis reproduisez les erreurs de rechargement et de build dans Visual Studio 2017 avec .NET 4.5. C’est terminé lorsque le projet se charge correctement et que SharpSploit.Tests se compile sans les erreurs indiquant que l’assembly et l’espace de noms SharpSploit sont manquants.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- csharp
- Domaine
- build-system
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100