smknifer 发表于 2013-2-25 16:36:53

LR 11.5 Microsoft .Net协议脚本回放问题

順利录制完.NET脚本后...replay时提示错误..
Project "C:\Users\lr64\Documents\VuGen\Scripts\test\Script.sln" (Build target(s)):

__________________________________________________
Project "C:\Users\lr64\Documents\VuGen\Scripts\test\Script.sln" is building "C:\Users\lr64\Documents\VuGen\Scripts\test\Script.csproj" (default targets):

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(847,9): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
globals.cs(25,17): error CS0122: 'ak' is inaccessible due to its protection level
globals.cs(25,20): error CS0052: Inconsistent accessibility: field type 'ak' is less accessible than field 'Script.VuserClass.ak_1'
Done building project "Script.csproj" -- FAILED.

我已经装了.NET SDK for win7了..请问是哪里没设置吗?
谢谢各位点进来看的大大,麻烦帮我我解答一下,謝謝。
页: [1]
查看完整版本: LR 11.5 Microsoft .Net协议脚本回放问题