www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Could someone kindly what's wrong with my Visual D?

reply "Siavash Babaei" <siavash.babaei gmail.com> writes:
Command Line

set PATH=D:\DLang\dmd2\windows\\bin;C:\Program Files 
(x86)\Microsoft SDKs\Windows\v7.0A\\\bin;%PATH%
dmd -g -debug -X -Xf"Debug DMD Win32\Hello.json" -deps="Debug DMD 
Win32\Hello.dep" -c -of"Debug DMD Win32\Hello.obj" main.d
if errorlevel 1 goto reportError

set LIB="D:\DLang\dmd2\windows\bin\..\lib"
echo. > 
D:\SkyDrive\DOCUME~1\VISUAL~3\Projects\D\Studies\Hello\Hello\DEBUGD~1\HELLOB~1.LNK
echo "Debug DMD Win32\Hello.obj","Debug DMD 
Win32\Hello.exe_cv","Debug DMD Win32\Hello.map",user32.lib+ >> 
D:\SkyDrive\DOCUME~1\VISUAL~3\Projects\D\Studies\Hello\Hello\DEBUGD~1\HELLOB~1.LNK
echo kernel32.lib/NOMAP/CO/NOI >> 
D:\SkyDrive\DOCUME~1\VISUAL~3\Projects\D\Studies\Hello\Hello\DEBUGD~1\HELLOB~1.LNK

"d:\Program Files (x86)\VisualD\pipedmd.exe" -deps "Debug DMD 
Win32\Hello.lnkdep" D:\DLang\dmd2\windows\bin\link.exe 
 D:\SkyDrive\DOCUME~1\VISUAL~3\Projects\D\Studies\Hello\Hello\DEBUGD~1\HELLOB~1.LNK
if errorlevel 1 goto reportError
if not exist "Debug DMD Win32\Hello.exe_cv" (echo "Debug DMD 
Win32\Hello.exe_cv" not created! && goto reportError)
echo Converting debug information...
"d:\Program Files (x86)\VisualD\cv2pdb\cv2pdb.exe" "Debug DMD 
Win32\Hello.exe_cv" "Debug DMD Win32\Hello.exe"
if errorlevel 1 goto reportError
if not exist "Debug DMD Win32\Hello.exe" (echo "Debug DMD 
Win32\Hello.exe" not created! && goto reportError)

goto noError

:reportError
echo Building Debug DMD Win32\Hello.exe failed!

:noError
Output

Converting debug information...
D:\SkyDrive\Documents\Visual Studio 
2013\Projects\D\Studies\Hello\Hello\Debug DMD Win32\Hello.pdb: 
cannot add symbols to module, probably msobj80.dll missing
Building Debug DMD Win32\Hello.exe failed!
Dec 11 2013
next sibling parent reply "Siavash Babaei" <siavash.babaei gmail.com> writes:
Oh, I forgot: I am running Win7x64 with Visual Studio 2013 
Ultimate. Also, this happens on 2 PCs and 3 Laptops!!!
Dec 11 2013
parent "Siavash Babaei" <siavash.babaei gmail.com> writes:
Error occurred while restoring NuGet packages: 
System.ComponentModel.Composition.CompositionException: The 
composition produced a single composition error. The root cause 
is provided below. Review the CompositionException.Errors 
property for more detailed information.

1) The method or operation is not implemented.

Resulting in: An exception occurred while trying to create an 
instance of type 'NuGet.VisualStudio.SolutionManager'.

Resulting in: Cannot activate part 
'NuGet.VisualStudio.SolutionManager'.
Element: NuGet.VisualStudio.SolutionManager -->  
NuGet.VisualStudio.SolutionManager

Resulting in: Cannot get export 
'NuGet.VisualStudio.SolutionManager 
(ContractName="NuGet.VisualStudio.ISolutionManager")' from part 
'NuGet.VisualStudio.SolutionManager'.
Element: NuGet.VisualStudio.SolutionManager 
(ContractName="NuGet.VisualStudio.ISolutionManager") -->  
NuGet.VisualStudio.SolutionManager

Resulting in: Cannot set import 
'NuGet.VisualStudio.VsSettings..ctor 
(Parameter="solutionManager", 
ContractName="NuGet.VisualStudio.ISolutionManager")' on part 
'NuGet.VisualStudio.VsSettings'.
Element: NuGet.VisualStudio.VsSettings..ctor 
(Parameter="solutionManager", 
ContractName="NuGet.VisualStudio.ISolutionManager") -->  
NuGet.VisualStudio.VsSettings

Resulting in: Cannot get export 'NuGet.VisualStudio.VsSettings 
(ContractName="NuGet.ISettings")' from part 
'NuGet.VisualStudio.VsSettings'.
Element: NuGet.VisualStudio.VsSettings 
(ContractName="NuGet.ISettings") -->  
NuGet.VisualStudio.VsSettings

    at 
System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromCompo
edPart(ImportEngine 
engine, ComposablePart part, ExportDefinition definition)
    at 
System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExpor
edValue(CatalogPart 
part, ExportDefinition export, Boolean isSharedPart)
    at 
System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore()
    at 
System.ComponentModel.Composition.Primitives.Export.get_Value()
    at 
System.ComponentModel.Composition.ExportServices.GetCastedExp
rtedValue[T](Export 
export)
    at 
System.ComponentModel.Composition.Hosting.ExportProvider.GetExporte
ValueCore[T](String 
contractName, ImportCardinality cardinality)
    at 
System.ComponentModel.Composition.Hosting.ExportProvider.GetExp
rtedValue[T](String 
contractName)
    at 
System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValue[T]()
    at 
Microsoft.VisualStudio.ComponentModelHost.ComponentModel.GetService[T]()
    at 
NuGet.VisualStudio.ServiceLocator.GetComponentModelService[TService]()
    at NuGet.VisualStudio.ServiceLocator.GetInstance[TService]()
    at NuGet.VsEvents.PackageRestorer.IsAutomatic()
    at 
NuGet.VsEvents.PackageRestorer.BuildEvents_OnBuildBegin(vsBuildScope 
Scope, vsBuildAction Action).
------ Build started: Project: Hello, Configuration: Debug DMD 
Win32 ------
Building Debug DMD Win32\Hello.exe...
Converting debug information...
D:\SkyDrive\Documents\Visual Studio 
2013\Projects\D\Studies\Hello\Hello\Debug DMD Win32\Hello.pdb: 
cannot add symbols to module, probably msobj80.dll missing
Building Debug DMD Win32\Hello.exe failed!
Details saved as "file://D:\SkyDrive\Documents\Visual Studio 
2013\Projects\D\Studies\Hello\Hello\Debug DMD 
Win32\Hello.buildlog.html"
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped 
==========
Dec 11 2013
prev sibling parent reply "John Colvin" <john.loughran.colvin gmail.com> writes:
On Wednesday, 11 December 2013 at 14:45:51 UTC, Siavash Babaei 
wrote:
 Command Line

 set PATH=D:\DLang\dmd2\windows\\bin;C:\Program Files 
 (x86)\Microsoft SDKs\Windows\v7.0A\\\bin;%PATH%
 dmd -g -debug -X -Xf"Debug DMD Win32\Hello.json" -deps="Debug 
 DMD Win32\Hello.dep" -c -of"Debug DMD Win32\Hello.obj" main.d
 if errorlevel 1 goto reportError

 set LIB="D:\DLang\dmd2\windows\bin\..\lib"
 echo. > 
 D:\SkyDrive\DOCUME~1\VISUAL~3\Projects\D\Studies\Hello\Hello\DEBUGD~1\HELLOB~1.LNK
 echo "Debug DMD Win32\Hello.obj","Debug DMD 
 Win32\Hello.exe_cv","Debug DMD Win32\Hello.map",user32.lib+ >> 
 D:\SkyDrive\DOCUME~1\VISUAL~3\Projects\D\Studies\Hello\Hello\DEBUGD~1\HELLOB~1.LNK
 echo kernel32.lib/NOMAP/CO/NOI >> 
 D:\SkyDrive\DOCUME~1\VISUAL~3\Projects\D\Studies\Hello\Hello\DEBUGD~1\HELLOB~1.LNK

 "d:\Program Files (x86)\VisualD\pipedmd.exe" -deps "Debug DMD 
 Win32\Hello.lnkdep" D:\DLang\dmd2\windows\bin\link.exe 
  D:\SkyDrive\DOCUME~1\VISUAL~3\Projects\D\Studies\Hello\Hello\DEBUGD~1\HELLOB~1.LNK
 if errorlevel 1 goto reportError
 if not exist "Debug DMD Win32\Hello.exe_cv" (echo "Debug DMD 
 Win32\Hello.exe_cv" not created! && goto reportError)
 echo Converting debug information...
 "d:\Program Files (x86)\VisualD\cv2pdb\cv2pdb.exe" "Debug DMD 
 Win32\Hello.exe_cv" "Debug DMD Win32\Hello.exe"
 if errorlevel 1 goto reportError
 if not exist "Debug DMD Win32\Hello.exe" (echo "Debug DMD 
 Win32\Hello.exe" not created! && goto reportError)

 goto noError

 :reportError
 echo Building Debug DMD Win32\Hello.exe failed!

 :noError
 Output

 Converting debug information...
 D:\SkyDrive\Documents\Visual Studio 
 2013\Projects\D\Studies\Hello\Hello\Debug DMD Win32\Hello.pdb: 
 cannot add symbols to module, probably msobj80.dll missing
 Building Debug DMD Win32\Hello.exe failed!
This is not really the right group for these sort of questions: please try in http://forum.dlang.org/group/digitalmars.D.ide
Dec 11 2013
parent "Siavash Babaei" <siavash.babaei gmail.com> writes:
Oops, so sorry!
Dec 11 2013