本文介绍了问题:Microsoft.Hpc.Scheduler的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我构建程序时,会发生错误:

When i builded a program,the error occurs:

"Microsoft.Hpc.Scheduler.Properties.JobState"类型是在未引用的程序集中定义的。您必须添加对程序集'Microsoft.Hpc.Scheduler.Properties,Version = 2.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35'的引用。

The type 'Microsoft.Hpc.Scheduler.Properties.JobState' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.Hpc.Scheduler.Properties, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

所以我试图添加引用'Microsoft.Hpc.Scheduler.Properties',但在HPC安装目录中,我发现文件Microsoft.Hpc.Scheduler.Properties.tlb,不存在Microsoft.Hpc.Scheduler.Properties.dll文件。

So i tried to add the reference of 'Microsoft.Hpc.Scheduler.Properties',but in HPC installation directory,i found the file Microsoft.Hpc.Scheduler.Properties.tlb,no Microsoft.Hpc.Scheduler.Properties.dll file exist.

之后,我使用tlbimp.exe生成Microsoft.Hpc.Scheduler.Properties.dll,但这也不起作用,在生成过程中发生了一些错误。

After that ,i used the tlbimp.exe to generate the Microsoft.Hpc.Scheduler.Properties.dll ,but this also does not work,during the generation some error occured.

我不熟悉c#。我现在可以做什么?

I am not familiar with c#.What can i do now?

任何帮助?

xfengm

 

推荐答案

Microsoft.Hpc目录。 Scheduler.Properties.dll是:

The directory of Microsoft.Hpc.Scheduler.Properties.dll is:

C:\ Windows \assembly\GAC_MSIL \\ Microsoft.Hpc.Scheduler.Properties\2.0.0.0__31bf3856ad364e35\Microsoft.Hpc.Scheduler.Properties.dll

我找到了其中一个例子的目录。我会仔细了解这些例子。

xfengm


这篇关于问题:Microsoft.Hpc.Scheduler的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 12:30